diff options
author | Christian Klinger | 2016-04-27 18:34:13 +0200 |
---|---|---|
committer | Christian Klinger | 2016-04-27 18:34:13 +0200 |
commit | e3130a1c53676e090c9af4bc6234c9688865438b (patch) | |
tree | 0478bce41e34c060c11d1a59a7a6f05de72ec84e /src/server/mainwindow/mainwindow.h | |
parent | delete button in the toolbar. (diff) | |
download | pvs2-e3130a1c53676e090c9af4bc6234c9688865438b.tar.gz pvs2-e3130a1c53676e090c9af4bc6234c9688865438b.tar.xz pvs2-e3130a1c53676e090c9af4bc6234c9688865438b.zip |
lock/unlocking of context-sensitive buttons.
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index fae0c7d..a3287f1 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -52,6 +52,9 @@ private: QList<QAction*> _lockingButtons; static const qint64 _buttonBlockTime = 2000; + /* Context-sensitive Buttons */ + QList<QAction*> _contextButtons; + // Management stuff enum class Mode { Broadcast, @@ -90,6 +93,9 @@ private: int getTileWidthPx() const; int getTileHeightPx() const; + void lockContextButtons(); + void unlockContextButtons(); + protected slots: void onTutorListDownloaded(QByteArray& tutorList); void onSessionNameClick(); |