author | zecke <zecke> | 2004-04-07 23:47:43 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-04-07 23:47:43 (UTC) |
commit | 10ec13c9068e7e4ca0acf75e5843ebd91e4e8566 (patch) (side-by-side diff) | |
tree | 9889be205ecb8d65aeca3b280d1db7ed0f07791c /noncore/graphics/opie-eye/gui/mainwindow.h | |
parent | 61cb9c9ad238e5aec6aaa1384549e0aab99d14bf (diff) | |
download | opie-10ec13c9068e7e4ca0acf75e5843ebd91e4e8566.zip opie-10ec13c9068e7e4ca0acf75e5843ebd91e4e8566.tar.gz opie-10ec13c9068e7e4ca0acf75e5843ebd91e4e8566.tar.bz2 |
Implement setDocument so now we could start replacing showimg
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.h b/noncore/graphics/opie-eye/gui/mainwindow.h index 5de2f42..042d568 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.h +++ b/noncore/graphics/opie-eye/gui/mainwindow.h @@ -1,67 +1,68 @@ /* * GPLv2 zecke@handhelds.org * No WArranty... */ #ifndef PHUNK_MAIN_WINDOW_H #define PHUNK_MAIN_WINDOW_H #include <opie2/oconfig.h> #include <qmainwindow.h> namespace Opie { namespace Ui{ class OKeyConfigManager; class OWidgetStack; } } class PIconView; class imageinfo; class ImageView; class PMainWindow : public QMainWindow { Q_OBJECT enum Views { IconView, ImageInfo, ImageDisplay }; public: static QString appName() { return QString::fromLatin1("opie-eye" ); } PMainWindow(QWidget*, const char*, WFlags ); ~PMainWindow(); signals: void configChanged(); public slots: void slotShowInfo( const QString& inf ); void slotDisplay( const QString& inf ); void slotReturn(); void slotRotateToggled(bool); void slotScaleToggled(bool); + void setDocument( const QString& ); 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; ImageView *m_disp; bool autoRotate; bool autoScale; QToolButton*rotateButton; private slots: void slotConfig(); }; #endif |