mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 20:23:24 +00:00
Add the modes for ADD and PLAN
The Plan mode still misses a widget that was done directly inside the mainwindow. I'll extract it from there and create a proper class in the next commit. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7d48c1fc26
commit
727e397aa5
1 changed files with 6 additions and 0 deletions
|
@ -54,7 +54,13 @@ MainWindow::MainWindow() : QMainWindow(),
|
||||||
ProfileWidget2 *profileWidget = new ProfileWidget2();
|
ProfileWidget2 *profileWidget = new ProfileWidget2();
|
||||||
GlobeGPS *globe = new GlobeGPS();
|
GlobeGPS *globe = new GlobeGPS();
|
||||||
|
|
||||||
|
PlannerSettingsWidget *plannerSettings = new PlannerSettingsWidget();
|
||||||
|
DivePlannerWidget *plannerWidget = new DivePlannerWidget();
|
||||||
|
//DivePlannerDetails *plannerDetails = new DivePlannerDetails();
|
||||||
|
|
||||||
registerApplicationState("Default", mainTab, diveListView, profileWidget, globe );
|
registerApplicationState("Default", mainTab, diveListView, profileWidget, globe );
|
||||||
|
registerApplicationState("AddDive", mainTab, diveListView, profileWidget, globe );
|
||||||
|
registerApplicationState("PlanDive", plannerWidget, plannerSettings, profileWidget, globe );
|
||||||
|
|
||||||
ui.multiFilter->hide();
|
ui.multiFilter->hide();
|
||||||
// what is a sane order for those icons? we should have the ones the user is
|
// what is a sane order for those icons? we should have the ones the user is
|
||||||
|
|
Loading…
Add table
Reference in a new issue