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.h21
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
@@ -31,2 +31,3 @@ class QPopupMenu;
class QAction;
+class QActionGroup;
class StorageInfo;
@@ -44,2 +45,3 @@ signals:
void changeDir( const QString& );
+ void changeListMode(int);
@@ -57,2 +59,3 @@ public slots:
virtual void slotToggleFullScreen();
+ virtual void slotFullScreenToggled(bool);
@@ -62,2 +65,3 @@ protected slots:
void showToolbar(bool);
+ void listviewselected(QAction*);
@@ -77,10 +81,15 @@ private:
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 */