diff options
author | Arno <am@disconnect.de> | 2010-10-16 15:21:21 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-10-16 15:21:21 +0200 |
commit | d7db872a15418d20392990a65d9525c11e2a4fa4 (patch) | |
tree | 778104058f0fa87a5dbeb25aa7f6f410f2b748e4 /filestreewidget.h | |
parent | bf5ccbe56631ac516751a9f194b643f77fdedf82 (diff) | |
download | SheMov-d7db872a15418d20392990a65d9525c11e2a4fa4.tar.gz SheMov-d7db872a15418d20392990a65d9525c11e2a4fa4.tar.bz2 SheMov-d7db872a15418d20392990a65d9525c11e2a4fa4.zip |
Made hovering configurable
Revamped misc tab in configurationdialog to QGroupBoxes. Added options
for enabling or disabling hovering over pictures or the archive tree.
Also implemented an option to set the opacity for HoverWindow.
Diffstat (limited to 'filestreewidget.h')
-rw-r--r-- | filestreewidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filestreewidget.h b/filestreewidget.h index c385f43..192b313 100644 --- a/filestreewidget.h +++ b/filestreewidget.h @@ -64,6 +64,9 @@ class FilesTreeView : public QTreeView { public: explicit FilesTreeView(QWidget *parent = 0); + public slots: + void readConfig(); + protected: virtual void contextMenuEvent(QContextMenuEvent *event); virtual bool event(QEvent *event); @@ -71,6 +74,7 @@ class FilesTreeView : public QTreeView { private: QModelIndex mCurHover; HoverWindow *mHoverWin; + bool mHover; }; class FilesTreeSortModel : public QSortFilterProxyModel { |