summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/imageview.h
Side-by-side diff
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.h8
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