author | alwin <alwin> | 2004-04-16 20:35:35 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-16 20:35:35 (UTC) |
commit | 217d387def6d97f912352899fd83908b28d75dfc (patch) (side-by-side diff) | |
tree | 14135801a52bbbfca4395a4cbf4b7fdffdeb45ad /noncore/graphics/opie-eye/gui/imageview.h | |
parent | cc56768485c3785439883dd1c456493f7ece2d84 (diff) | |
download | opie-217d387def6d97f912352899fd83908b28d75dfc.zip opie-217d387def6d97f912352899fd83908b28d75dfc.tar.gz opie-217d387def6d97f912352899fd83908b28d75dfc.tar.bz2 |
Implemented fullscreen mode (f-key)
Diffstat (limited to 'noncore/graphics/opie-eye/gui/imageview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imageview.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h index f467f00..32f7e11 100644 --- a/noncore/graphics/opie-eye/gui/imageview.h +++ b/noncore/graphics/opie-eye/gui/imageview.h @@ -15,23 +15,29 @@ class ImageView:public Opie::MM::OImageScrollView Q_OBJECT enum ActionIds { - ViewInfo + ViewInfo, + FullScreen }; public: ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name = 0, WFlags fl = 0 ); virtual ~ImageView(); Opie::Core::OKeyConfigManager* manager(); + void setFullScreen(bool how){m_isFullScreen = how;} + bool fullScreen(){return m_isFullScreen;} signals: void dispImageInfo(const QString&); void dispNext(); void dispPrev(); + void toggleFullScreen(); protected: Opie::Core::OConfig * m_cfg; Opie::Core::OKeyConfigManager*m_viewManager; void initKeys(); + bool m_isFullScreen:1; + protected slots: virtual void slotShowImageInfo(); virtual void slotDispNext(); |