From d7db872a15418d20392990a65d9525c11e2a4fa4 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 16 Oct 2010 15:21:21 +0200 Subject: 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. --- filestreewidget.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filestreewidget.h') 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 { -- cgit v1.2.3-70-g09d2