Diffstat (limited to 'noncore/graphics/opie-eye/gui/imageview.h') (more/less context) (ignore 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 6bf930f..445bee9 100644 --- a/noncore/graphics/opie-eye/gui/imageview.h +++ b/noncore/graphics/opie-eye/gui/imageview.h | |||
@@ -20,13 +20,15 @@ class ImageView:public Opie::MM::OImageScrollView | |||
20 | ShowNext, | 20 | ShowNext, |
21 | ShowPrevious, | 21 | ShowPrevious, |
22 | Zoomer, | 22 | Zoomer, |
23 | Autorotate, | ||
24 | Autoscale | ||
23 | }; | 25 | }; |
24 | 26 | ||
25 | public: | 27 | public: |
26 | ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name = 0, WFlags fl = 0 ); | 28 | ImageView(Opie::Core::OConfig *cfg, QWidget* parent, const char* name = 0, WFlags fl = 0 ); |
27 | virtual ~ImageView(); | 29 | virtual ~ImageView(); |
28 | Opie::Core::OKeyConfigManager* manager(); | 30 | Opie::Core::OKeyConfigManager* manager(); |
29 | void setFullScreen(bool how){m_isFullScreen = how;} | 31 | void setFullScreen(bool how); |
30 | bool fullScreen(){return m_isFullScreen;} | 32 | bool fullScreen(){return m_isFullScreen;} |
31 | 33 | ||
32 | signals: | 34 | signals: |
@@ -36,6 +38,8 @@ signals: | |||
36 | void toggleFullScreen(); | 38 | void toggleFullScreen(); |
37 | void hideMe(); | 39 | void hideMe(); |
38 | void toggleZoomer(); | 40 | void toggleZoomer(); |
41 | void toggleAutoscale(); | ||
42 | void toggleAutorotate(); | ||
39 | 43 | ||
40 | protected: | 44 | protected: |
41 | Opie::Core::OConfig * m_cfg; | 45 | Opie::Core::OConfig * m_cfg; |
@@ -46,5 +50,7 @@ protected: | |||
46 | protected slots: | 50 | protected slots: |
47 | virtual void slotShowImageInfo(); | 51 | virtual void slotShowImageInfo(); |
48 | virtual void keyReleaseEvent(QKeyEvent * e); | 52 | virtual void keyReleaseEvent(QKeyEvent * e); |
53 | virtual void contentsMousePressEvent ( QMouseEvent * e); | ||
49 | }; | 54 | }; |
55 | |||
50 | #endif | 56 | #endif |