diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2024-05-18 03:33:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-18 03:33:43 +0200 |
| commit | 51338e30e046f1a62c84049b34577f0f3b5db6e3 (patch) | |
| tree | 283c95f8f776ed852d03a816388695afd65c0f73 /include/aoclocklabel.h | |
| parent | 469e293a1885e49f1d5994d41ac7cfc9f4666952 (diff) | |
| parent | f9c7205210fb9f768f583065971ece09e6b5eb03 (diff) | |
Merge pull request #957 from AttorneyOnline/kaleidoscope
The Kaleidoscope - Hell, it's about time.
Diffstat (limited to 'include/aoclocklabel.h')
| -rw-r--r-- | include/aoclocklabel.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/aoclocklabel.h b/include/aoclocklabel.h deleted file mode 100644 index 830fb52..0000000 --- a/include/aoclocklabel.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef AOCLOCKLABEL_H -#define AOCLOCKLABEL_H - -#include <QLabel> -#include <QBasicTimer> -#include <QTimerEvent> -#include <QDateTime> -#include <QDebug> - -class AOClockLabel : public QLabel { - Q_OBJECT - -public: - AOClockLabel(QWidget *parent); - void start(); - void start(qint64 msecs); - void set(qint64 msecs, bool update_text = false); - void pause(); - void stop(); - void skip(qint64 msecs); - bool active(); - -protected: - void timerEvent(QTimerEvent *event) override; - -private: - QBasicTimer timer; - QDateTime target_time; -}; - -#endif // AOCLOCKLABEL_H |
