diff options
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r-- | qt-ui/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index e35230a3c..9a8deb1a0 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -36,6 +36,7 @@ public: enum {COLLAPSED, EXPANDED}; enum StackWidgetIndexes{ PROFILE, PLANNERPROFILE}; enum InfoWidgetIndexes{ MAINTAB, PLANNERWIDGET}; + enum CurrentState{ VIEWALL, GLOBE_MAXIMIZED, INFO_MAXIMIZED, PROFILE_MAXIMIZED, LIST_MAXIMIZED}; MainWindow(); ProfileGraphicsView *graphics(); @@ -116,12 +117,15 @@ private: QAction *actionNextDive; QAction *actionPreviousDive; QWebView *helpView; + CurrentState state; QString filter(); bool askSaveChanges(); void writeSettings(); void redrawProfile(); void file_save(); void file_save_as(); + void beginChangeState(CurrentState s); + void saveSplitterSizes(); }; MainWindow *mainWindow(); |