summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/imageview.h
authoralwin <alwin>2004-04-07 11:10:21 (UTC)
committer alwin <alwin>2004-04-07 11:10:21 (UTC)
commit6095b1f70bcac407208e7473598f2bbf53339810 (patch) (side-by-side diff)
treee76d8ad85b79de56a7aa7dd95c824da485901c6f /noncore/graphics/opie-eye/gui/imageview.h
parent364971c08f3d761102daab01889b9fab394f8f08 (diff)
downloadopie-6095b1f70bcac407208e7473598f2bbf53339810.zip
opie-6095b1f70bcac407208e7473598f2bbf53339810.tar.gz
opie-6095b1f70bcac407208e7473598f2bbf53339810.tar.bz2
the ImageScrollView wrapped with another class where just the
opie-eye specifics are implemented. So we can move that into the MM lib and use it in other programs.
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.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h
new file mode 100644
index 0000000..5ee0d7d
--- a/dev/null
+++ b/noncore/graphics/opie-eye/gui/imageview.h
@@ -0,0 +1,40 @@
+#ifndef _IMAGE_VIEW_H
+#define _IMAGE_VIEW_H
+
+/* must be changed when it will moved to Opie::MM */
+#include "imagescrollview.h"
+
+namespace Opie {
+ namespace Core {
+ class OConfig;
+ }
+ namespace Ui {
+ class OKeyConfigManager;
+ }
+}
+
+class ImageView:public ImageScrollView
+{
+ Q_OBJECT
+
+ enum ActionIds {
+ ViewInfo
+ };
+
+public:
+ ImageView( QWidget* parent, const char* name = 0, WFlags fl = 0 );
+ virtual ~ImageView();
+ Opie::Ui::OKeyConfigManager* manager();
+
+signals:
+ void dispImageInfo(const QString&);
+ void sig_return();
+
+protected:
+ Opie::Core::OConfig * m_cfg;
+ Opie::Ui::OKeyConfigManager*m_viewManager;
+ void initKeys();
+protected slots:
+ virtual void slotShowImageInfo();
+};
+#endif