1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef CLOCK_H #define CLOCK_H #include <QWidget> class Clock : public QWidget { Q_OBJECT public: explicit Clock(QWidget *parent = 0); signals: public slots: protected: void paintEvent(QPaintEvent *event); }; #endif // CLOCK_H