aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index a6779150b..d7deeea81 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -54,7 +54,13 @@ MainWindow::MainWindow() : QMainWindow(),
ProfileWidget2 *profileWidget = new ProfileWidget2();
GlobeGPS *globe = new GlobeGPS();
+ PlannerSettingsWidget *plannerSettings = new PlannerSettingsWidget();
+ DivePlannerWidget *plannerWidget = new DivePlannerWidget();
+ //DivePlannerDetails *plannerDetails = new DivePlannerDetails();
+
registerApplicationState("Default", mainTab, diveListView, profileWidget, globe );
+ registerApplicationState("AddDive", mainTab, diveListView, profileWidget, globe );
+ registerApplicationState("PlanDive", plannerWidget, plannerSettings, profileWidget, globe );
ui.multiFilter->hide();
// what is a sane order for those icons? we should have the ones the user is