summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index e136540..8a5bcf7 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -13,6 +13,7 @@
#include <QImage>
#include <QRect>
#include <QSize>
+#include <QLabel>
#include "loginform.h"
@@ -38,6 +39,8 @@ public:
void createLogWindow(const QRect& geom);
+ void createClock();
+
bool showLoginForm();
QImage& getBackground() { return m_background; }
@@ -46,15 +49,18 @@ public:
public slots:
void showStandby();
+ void updateClock();
private:
int getOffset(QString offset, int maxVal, int defaultVal);
void setBackground();
+ int drawClock();
QRect m_ScreenRect;
bool m_Primary;
LoginForm* m_LoginForm;
QImage m_background;
QTextEdit *m_messages;
+ QLabel *m_Clock;
};
#endif // MAINWINDOW_H