Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef setTime_H_
00010 #define setTime_H_
00011
00012 #include "lgrGui.h"
00013 #include "ui_setTimeUI.h"
00014 #include "absoluteTime.h"
00015
00016 #include <QtGui/QDialog>
00017 #include <commonWidgets/preciseTimeEdit.h>
00018
00019 namespace MAKLogger
00020 {
00021 class DtLgrPlaybackInterface;
00022
00024 class DT_DLL_LGRGUI DtSetTimeDialog : public QDialog, public Ui_DtSetTimeDlgUi
00025 {
00026 Q_OBJECT
00027
00028 public:
00030 DtSetTimeDialog( const DtLgrPlaybackInterface* timeInterface,QWidget* parent);
00031
00033 ~DtSetTimeDialog();
00034
00035 public slots:
00037 virtual void onTimeChanged();
00038
00040 virtual void onOK();
00041
00043 virtual void onCancel();
00044
00045 protected:
00046
00047 virtual void setErrorMessage(const QString&);
00048
00049 MAKCommonWidgets::DtPreciseTimeEdit* myPreciseTimeEdit;
00050
00051 const DtLgrPlaybackInterface* myInterface;
00052 DtAbsoluteTime myNewTime;
00053 bool myTimeIsValid;
00054 };
00055
00056 }
00057
00058 #endif //! DtSetTimeDlg_H_