summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/mainwindow.h
Side-by-side diff
Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/mainwindow.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.h b/noncore/graphics/opie-eye/gui/mainwindow.h
index 317a51e..35116ae 100644
--- a/noncore/graphics/opie-eye/gui/mainwindow.h
+++ b/noncore/graphics/opie-eye/gui/mainwindow.h
@@ -17,2 +17,3 @@ namespace Ui{
class OKeyConfigManager;
+ class OWidgetStack;
}
@@ -21,4 +22,7 @@ namespace Ui{
class PIconView;
+class imageinfo;
+class ImageScrollView;
class PMainWindow : public QMainWindow {
Q_OBJECT
+ enum Views { IconView, ImageInfo, ImageDisplay };
public:
@@ -28,5 +32,25 @@ public:
+signals:
+ void configChanged();
+
+public slots:
+ void slotShowInfo( const QString& inf );
+ void slotDisplay( const QString& inf );
+ void slotReturn();
+
+protected:
+ void raiseIconView();
+ void closeEvent( QCloseEvent* );
+
+private:
+ template<class T> void initT( const char* name, T**, int );
+ void initInfo();
+ void initDisp();
+
private:
Opie::Core::OConfig *m_cfg;
+ Opie::Ui::OWidgetStack *m_stack;
PIconView* m_view;
+ imageinfo *m_info;
+ ImageScrollView *m_disp;