author | alwin <alwin> | 2004-04-20 22:58:27 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-20 22:58:27 (UTC) |
commit | c61b410ba0051c266501933f7f675291684613f8 (patch) (side-by-side diff) | |
tree | 2bdb8278bb271bcb305652dea528709735b0a08d /noncore/graphics/opie-eye/gui/imageview.h | |
parent | 4348554f74290f477af9a338cdabf363883c9472 (diff) | |
download | opie-c61b410ba0051c266501933f7f675291684613f8.zip opie-c61b410ba0051c266501933f7f675291684613f8.tar.gz opie-c61b410ba0051c266501933f7f675291684613f8.tar.bz2 |
some gui stuff - fullscreen now works better on smallscreen, bigscreen
has some more problems...
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 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 ShowNext, ShowPrevious, Zoomer, + Autorotate, + Autoscale }; 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;} + void setFullScreen(bool how); bool fullScreen(){return m_isFullScreen;} signals: @@ -36,6 +38,8 @@ signals: void toggleFullScreen(); void hideMe(); void toggleZoomer(); + void toggleAutoscale(); + void toggleAutorotate(); protected: Opie::Core::OConfig * m_cfg; @@ -46,5 +50,7 @@ protected: protected slots: virtual void slotShowImageInfo(); virtual void keyReleaseEvent(QKeyEvent * e); + virtual void contentsMousePressEvent ( QMouseEvent * e); }; + #endif |