diff options
Diffstat (limited to 'hyperui/mainwindow.h')
| -rw-r--r-- | hyperui/mainwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hyperui/mainwindow.h b/hyperui/mainwindow.h index e085214..f945e44 100644 --- a/hyperui/mainwindow.h +++ b/hyperui/mainwindow.h @@ -55,12 +55,16 @@ public: void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); +protected: + void timerEvent(QTimerEvent *event); + private slots: void onDragModeIn(); void onDragModeOut(); void onMaximizeFinished(); private: + void updateTime(); void createDummyDailyEvents(); QPixmap m_background; @@ -68,6 +72,7 @@ private: ClockWidget *m_clockWidget; DraggablePreview *m_preview; QGraphicsRectItem *m_overlay; + QGraphicsSimpleTextItem *m_hourLabel; }; #endif |
