1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:57:45 +00:00

Calendar: Add feature to view/edit duration of events in AddEventDialog

This commit is contained in:
ronak69 2024-01-08 11:14:00 +00:00 committed by Andrew Kaster
parent 5b72711beb
commit 4aa04cdf65
3 changed files with 58 additions and 0 deletions

View file

@ -34,6 +34,7 @@ private:
void update_start_date();
void update_end_date();
void update_duration();
Core::DateTime m_start_date_time;
Core::DateTime m_end_date_time;
@ -45,6 +46,8 @@ private:
RefPtr<GUI::SpinBox> m_start_minute_box;
RefPtr<GUI::SpinBox> m_end_hour_box;
RefPtr<GUI::SpinBox> m_end_minute_box;
RefPtr<GUI::SpinBox> m_duration_hour_box;
RefPtr<GUI::SpinBox> m_duration_minute_box;
};
}