diff options
author | Arno <am@disconnect.de> | 2012-03-17 15:15:53 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-03-17 15:15:53 +0100 |
commit | 1e14ae6748f271265dd719ac0766a2da3501a21f (patch) | |
tree | cf1547eb8a55637a8bf1e9a952ce9d07085e0117 /pictureswidget.h | |
parent | e595a9be49615c45f40c57e8385e9fd76bb394e8 (diff) | |
download | SheMov-1e14ae6748f271265dd719ac0766a2da3501a21f.tar.gz SheMov-1e14ae6748f271265dd719ac0766a2da3501a21f.tar.bz2 SheMov-1e14ae6748f271265dd719ac0766a2da3501a21f.zip |
Add keyboard actions to PictureViewer2
Never, ever forget: QVariant() casts to a valid int! Again, this was a
tough one, but maybe I shouldn't drink and program.
PictureViewer2 reacts to Escape and Space. Escape hides it and stops the
slide timer, Space activates the slide timer.
Diffstat (limited to 'pictureswidget.h')
-rw-r--r-- | pictureswidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pictureswidget.h b/pictureswidget.h index 0239560..cdc40b5 100644 --- a/pictureswidget.h +++ b/pictureswidget.h @@ -74,6 +74,7 @@ class PictureView : public QTreeView { void refresh(); void setPVData(int replace = false); void setPVAll(); + void setHoverWinVisible(bool visible) const; protected: virtual void hideEvent(QHideEvent *); |