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.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