author | alwin <alwin> | 2004-11-01 01:58:25 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-11-01 01:58:25 (UTC) |
commit | d69955ef9cddc3acc37b9dc96945cd4bae56eed5 (patch) (unidiff) | |
tree | 7982a6da8f8141292eb0a1c09ce384784af2801d /noncore/graphics/opie-eye/gui/mainwindow.h | |
parent | 01fb5d6957984fe6fe5ed2109a024be7e8159d16 (diff) | |
download | opie-d69955ef9cddc3acc37b9dc96945cd4bae56eed5.zip opie-d69955ef9cddc3acc37b9dc96945cd4bae56eed5.tar.gz opie-d69955ef9cddc3acc37b9dc96945cd4bae56eed5.tar.bz2 |
some menu working
some debug messages removed
tried to remove some interesting effects when switching view mode
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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.h b/noncore/graphics/opie-eye/gui/mainwindow.h index 65151fc..703965b 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.h +++ b/noncore/graphics/opie-eye/gui/mainwindow.h | |||
@@ -55,42 +55,44 @@ public slots: | |||
55 | void slotToggleZoomer(); | 55 | void slotToggleZoomer(); |
56 | void slotToggleAutorotate(); | 56 | void slotToggleAutorotate(); |
57 | void slotToggleAutoscale(); | 57 | void slotToggleAutoscale(); |
58 | void setDocument( const QString& ); | 58 | void setDocument( const QString& ); |
59 | virtual void slotToggleFullScreen(); | 59 | virtual void slotToggleFullScreen(); |
60 | virtual void slotFullScreenToggled(bool); | 60 | virtual void slotFullScreenToggled(bool); |
61 | 61 | ||
62 | protected slots: | 62 | protected slots: |
63 | void raiseIconView(); | 63 | void raiseIconView(); |
64 | void closeEvent( QCloseEvent* ); | 64 | void closeEvent( QCloseEvent* ); |
65 | void showToolbar(bool); | 65 | void showToolbar(bool); |
66 | void listviewselected(QAction*); | 66 | void listviewselected(QAction*); |
67 | void slotFullScreenButton(bool); | ||
67 | 68 | ||
68 | private: | 69 | private: |
69 | template<class T> void initT( const char* name, T**, int ); | 70 | template<class T> void initT( const char* name, T**, int ); |
70 | void initInfo(); | 71 | void initInfo(); |
71 | void initDisp(); | 72 | void initDisp(); |
73 | void setupViewWindow(bool full, bool forceDisplay); | ||
72 | 74 | ||
73 | private: | 75 | private: |
74 | Opie::Core::OConfig *m_cfg; | 76 | Opie::Core::OConfig *m_cfg; |
75 | Opie::Ui::OWidgetStack *m_stack; | 77 | Opie::Ui::OWidgetStack *m_stack; |
76 | PIconView* m_view; | 78 | PIconView* m_view; |
77 | imageinfo *m_info; | 79 | imageinfo *m_info; |
78 | ImageView *m_disp; | 80 | ImageView *m_disp; |
79 | bool autoRotate; | 81 | bool autoRotate; |
80 | bool autoScale; | 82 | bool autoScale; |
81 | bool zoomerOn; | 83 | bool zoomerOn; |
82 | QToolButton*fsButton; | 84 | QToolButton*fsButton; |
83 | QToolBar *toolBar; | 85 | QToolBar *toolBar; |
84 | QPopupMenu *fileMenu,*dispMenu,*fsMenu,*listviewMenu; | 86 | QPopupMenu *fileMenu,*dispMenu,*fsMenu,*listviewMenu,*settingsMenu; |
85 | QAction*m_aShowInfo,*m_aBeam,*m_aTrash,*m_aViewfile,*m_aDirUp,*m_aStartSlide; | 87 | QAction*m_aShowInfo,*m_aBeam,*m_aTrash,*m_aViewfile,*m_aDirUp,*m_aStartSlide; |
86 | QAction*m_aHideToolbar,*m_aSetup,*m_aDirName,*m_aDirShort,*m_aDirLong; | 88 | QAction*m_aHideToolbar,*m_aSetup,*m_aDirName,*m_aDirShort,*m_aDirLong; |
87 | QActionGroup *m_gListViewMode,*m_gDisplayType,*m_gPrevNext,*m_hGroup; | 89 | QActionGroup *m_gListViewMode,*m_gDisplayType,*m_gPrevNext,*m_hGroup; |
88 | QAction *m_aNext,*m_aPrevious,*m_aFullScreen; | 90 | QAction *m_aNext,*m_aPrevious,*m_aFullScreen; |
89 | QAction *m_aAutoRotate,*m_aAutoScale,*m_aZoomer; | 91 | QAction *m_aAutoRotate,*m_aAutoScale,*m_aZoomer; |
90 | 92 | ||
91 | /* init funs */ | 93 | /* init funs */ |
92 | void setupActions(); | 94 | void setupActions(); |
93 | void setupToolbar(); | 95 | void setupToolbar(); |
94 | void setupMenu(); | 96 | void setupMenu(); |
95 | /* for the device submenu - ToDo: Merge with the special button */ | 97 | /* for the device submenu - ToDo: Merge with the special button */ |
96 | StorageInfo *m_storage; | 98 | StorageInfo *m_storage; |