systemtime.h
37 lines
| 668 B
| text/x-c
|
CLexer
/ paulcommon / systemtime.h
r50 | #ifndef SYSTEMTIME_H | |||
#define SYSTEMTIME_H | ||||
#include "paulcommon_global.h" | ||||
#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 | ||||