diff options
author | Jonathan Klimt <jounathaen@mail.de> | 2016-11-17 17:14:34 +0100 |
---|---|---|
committer | Jonathan Klimt <jounathaen@mail.de> | 2016-11-17 17:14:34 +0100 |
commit | 81287f0af4fe41328a9483a18f41c3d7a6bdbfe5 (patch) | |
tree | a6821e09ca64c391150966c22bfe954f1359d3e3 /mainwindow.h | |
parent | 160c7c67188a35e995b5ac24a3c66149da097229 (diff) |
UI improvements: improved Mainwindow, treeView can be deselected
Diffstat (limited to 'mainwindow.h')
-rw-r--r-- | mainwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h index 6262a279..44d2b320 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -87,12 +87,16 @@ public: passwordConfiguration pwdConfig; + protected: void closeEvent(QCloseEvent *event); void keyPressEvent(QKeyEvent *event); void changeEvent(QEvent *event); bool eventFilter(QObject *obj, QEvent *event); +public slots: + void deselect(); + private slots: void on_updateButton_clicked(); void on_pushButton_clicked(); @@ -131,6 +135,7 @@ private: StoreModel proxyModel; QScopedPointer<QItemSelectionModel> selectionModel; QScopedPointer<QProcess> process; + QTreeView *treeView; bool usePass; clipBoardType useClipboard; bool useAutoclear; |