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 /seriestreewidget.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 'seriestreewidget.h')
-rw-r--r-- | seriestreewidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/seriestreewidget.h b/seriestreewidget.h index c5d91d4..774120a 100644 --- a/seriestreewidget.h +++ b/seriestreewidget.h @@ -71,6 +71,9 @@ class SeriesTreeView : public QTreeView { public: explicit SeriesTreeView(QWidget *parent = 0); + public slots: + void readConfig(); + protected: virtual void contextMenuEvent(QContextMenuEvent *e); virtual bool event(QEvent *event); @@ -79,6 +82,7 @@ class SeriesTreeView : public QTreeView { QStringList children(const QModelIndex &idx) const; QModelIndex mCurHover; HoverWindow *mHoverWin; + bool mHover; }; |