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 | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.h b/noncore/graphics/opie-eye/gui/mainwindow.h index ae1cc09..65151fc 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.h +++ b/noncore/graphics/opie-eye/gui/mainwindow.h @@ -30,4 +30,5 @@ class QToolBar; class QPopupMenu; class QAction; +class QActionGroup; class StorageInfo; @@ -43,4 +44,5 @@ signals: void configChanged(); void changeDir( const QString& ); + void changeListMode(int); public slots: @@ -56,4 +58,5 @@ public slots: void setDocument( const QString& ); virtual void slotToggleFullScreen(); + virtual void slotFullScreenToggled(bool); protected slots: @@ -61,4 +64,5 @@ protected slots: void closeEvent( QCloseEvent* ); void showToolbar(bool); + void listviewselected(QAction*); private: @@ -76,12 +80,17 @@ private: bool autoScale; bool zoomerOn; - QToolButton*rotateButton,*fsButton,*viewModeButton; - QToolButton*nextButton,*prevButton,*zoomButton,*scaleButton; - QMenuBar *menuBar; + QToolButton*fsButton; QToolBar *toolBar; - QPopupMenu *fileMenu,*dispMenu,*fsMenu; + QPopupMenu *fileMenu,*dispMenu,*fsMenu,*listviewMenu; QAction*m_aShowInfo,*m_aBeam,*m_aTrash,*m_aViewfile,*m_aDirUp,*m_aStartSlide; - QAction*m_aHideToolbar; - + QAction*m_aHideToolbar,*m_aSetup,*m_aDirName,*m_aDirShort,*m_aDirLong; + QActionGroup *m_gListViewMode,*m_gDisplayType,*m_gPrevNext,*m_hGroup; + QAction *m_aNext,*m_aPrevious,*m_aFullScreen; + QAction *m_aAutoRotate,*m_aAutoScale,*m_aZoomer; + + /* init funs */ + void setupActions(); + void setupToolbar(); + void setupMenu(); /* for the device submenu - ToDo: Merge with the special button */ StorageInfo *m_storage; |