#ifndef QMDIALOGLEGSTARTTIMES_H #define QMDIALOGLEGSTARTTIMES_H #include namespace Ui { class QmDialogLegStartTimes; } class QmDialogLegStartTimes : public QDialog { Q_OBJECT public: explicit QmDialogLegStartTimes(const QString &title, QWidget *parent = 0); ~QmDialogLegStartTimes(); void setTimeLabel(const QString &label); void setDeltaTimeLabel(const QString &label); void setDescription(const QString &text); time_t getTime(void); time_t getDeltaTime(void); int getLeg(void); bool getReport(void); bool getClear(void); private: Ui::QmDialogLegStartTimes *ui; public slots: void enableDone(int val); void updateSecs(void); }; #endif // QMDIALOGLEGSTARTTIMES_H