summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/imageview.h
Unidiff
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.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h
index 4d2405f..5f15bc9 100644
--- a/noncore/graphics/opie-eye/gui/imageview.h
+++ b/noncore/graphics/opie-eye/gui/imageview.h
@@ -5,2 +5,4 @@
5 5
6#include <qwidget.h>
7
6namespace Opie { 8namespace Opie {
@@ -31,2 +33,3 @@ public:
31 void setFullScreen(bool how); 33 void setFullScreen(bool how);
34 virtual void enableFullscreen();
32 bool fullScreen(){return m_isFullScreen;} 35 bool fullScreen(){return m_isFullScreen;}
@@ -48,3 +51,7 @@ protected:
48 bool m_isFullScreen:1; 51 bool m_isFullScreen:1;
49 void enableFullscreen(); 52 bool m_focus_out:1;
53 bool block_next_focus:1;
54
55 virtual void focusInEvent ( QFocusEvent * );
56 virtual void focusOutEvent ( QFocusEvent * );
50 57
@@ -54,3 +61,18 @@ protected slots:
54 virtual void contentsMousePressEvent ( QMouseEvent * e); 61 virtual void contentsMousePressEvent ( QMouseEvent * e);
55 virtual void focusInEvent ( QFocusEvent * ); 62};
63
64class ImageWidget:public QWidget
65{
66 Q_OBJECT
67public:
68 ImageWidget(QWidget * parent=0, const char * name=0, WFlags f = WStyle_Customize | WStyle_NoBorder);
69 virtual ~ImageWidget(){};
70
71protected:
72
73public slots:
74 virtual void show();
75 virtual void hide();
76
77protected slots:
56}; 78};