systemtime.h
36 lines
| 631 B
| text/x-c
|
CLexer
r69 | #ifndef SYSTEMTIME_H | |||
#define SYSTEMTIME_H | ||||
#include <QWidget> | ||||
#include <QLabel> | ||||
#include <QGridLayout> | ||||
#include <QLineEdit> | ||||
#include <QRegExpValidator> | ||||
#include "arbitrarytime.h" | ||||
class 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 | ||||