#ifndef SETDAYDIALOG_H #define SETDAYDIALOG_H #include #include "day.h" #include "tools.h" namespace Ui { class SetDayDialog; } class SetDayDialog : public QDialog { Q_OBJECT public: explicit SetDayDialog(Day d, QWidget *parent = nullptr); ~SetDayDialog(); Day get_result(); public slots: void compute_time(); private: Ui::SetDayDialog *ui; Day d; void init(); }; #endif // SETDAYDIALOG_H