systemtime.h
38 lines
| 687 B
| text/x-c
|
CLexer
/ paulcommon / systemtime.h
r50 | #ifndef SYSTEMTIME_H | |||
#define SYSTEMTIME_H | ||||
#include "paulcommon_global.h" | ||||
r57 | #include <QWidget> | |||
r50 | #include <QLabel> | |||
#include <QGridLayout> | ||||
#include <QLineEdit> | ||||
#include <QRegExpValidator> | ||||
#include "arbitrarytime.h" | ||||
class PAULCOMMONSHARED_EXPORT SystemTime : public QWidget | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit SystemTime(QWidget *parent = 0); | ||||
signals: | ||||
void timeToSendChanged(long timeToSend); | ||||
public slots: | ||||
void editingFinishedSLOT(long time); | ||||
void systemTimeHasChanged(long time); | ||||
private: | ||||
long currentTime; | ||||
QLabel *currentTimePrefix_LABEL; | ||||
QLabel *currentTime_LABEL; | ||||
QGridLayout *main_LAYOUT; | ||||
ArbitraryTime *arbitraryTime; | ||||
}; | ||||
#endif // SYSTEMTIME_H | ||||