Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.h b/noncore/graphics/opie-eye/gui/mainwindow.h index 6fa1ab6..ae1cc09 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.h +++ b/noncore/graphics/opie-eye/gui/mainwindow.h @@ -26,4 +26,9 @@ class ImageWidget; class PIconView; class imageinfo; +class QMenuBar; +class QToolBar; +class QPopupMenu; +class QAction; +class StorageInfo; class PMainWindow : public QMainWindow { @@ -37,4 +42,5 @@ public: signals: void configChanged(); + void changeDir( const QString& ); public slots: @@ -54,4 +60,5 @@ protected slots: void raiseIconView(); void closeEvent( QCloseEvent* ); + void showToolbar(bool); private: @@ -69,9 +76,20 @@ private: bool autoScale; bool zoomerOn; - QToolButton*rotateButton,*upButton,*fsButton,*viewModeButton; + QToolButton*rotateButton,*fsButton,*viewModeButton; QToolButton*nextButton,*prevButton,*zoomButton,*scaleButton; + QMenuBar *menuBar; + QToolBar *toolBar; + QPopupMenu *fileMenu,*dispMenu,*fsMenu; + QAction*m_aShowInfo,*m_aBeam,*m_aTrash,*m_aViewfile,*m_aDirUp,*m_aStartSlide; + QAction*m_aHideToolbar; + + /* for the device submenu - ToDo: Merge with the special button */ + StorageInfo *m_storage; + QMap<QString, QString> m_dev; private slots: void slotConfig(); + void slotSelectDir(int); + void dirChanged(); }; |