mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +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();
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue