aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/mainUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-11-20 09:49:22 -0500
committerKen Moore <ken@ixsystems.com>2017-11-20 09:49:22 -0500
commitdd4c337edb937b9ff959ec6348e096cab08c34ca (patch)
treea606301d760f4a595088f433fc4462e6dceb8ba6 /src-qt5/desktop-utils/lumina-pdf/mainUI.h
parentResync translation files with latest sources. (diff)
downloadlumina-dd4c337edb937b9ff959ec6348e096cab08c34ca.tar.gz
lumina-dd4c337edb937b9ff959ec6348e096cab08c34ca.tar.bz2
lumina-dd4c337edb937b9ff959ec6348e096cab08c34ca.zip
Add a clock to the main window top-panel when in presentation mode.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/mainUI.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/mainUI.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/mainUI.h b/src-qt5/desktop-utils/lumina-pdf/mainUI.h
index 3609db13..87d2a4e4 100644
--- a/src-qt5/desktop-utils/lumina-pdf/mainUI.h
+++ b/src-qt5/desktop-utils/lumina-pdf/mainUI.h
@@ -45,6 +45,10 @@ private:
//Other Interface elements
QProgressBar *progress;
QAction *progAct; //action associated with the progressbar
+ QTimer *clockTimer;
+ //QFrame *frame_presenter;
+ QLabel *label_clock;
+ QAction *clockAct;
//PDF Page Loading cache variables
QHash<int, QImage> loadingHash;
@@ -71,6 +75,9 @@ private slots:
//Button Slots
void OpenNewFile();
+ //Other interface slots
+ void updateClock();
+
signals:
void PageLoaded(int);
bgstack15