Dive site management: show pictures instead of profile
This seems to work better than moving the Globe up there. It's not ideal (I really want to be able to show one big picture for the site - and on all the sites without pictures we show nothing), but for now I think this is better than having the profile there. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1dee5e1723
commit
82b15b02b3
@ -107,13 +107,14 @@ MainWindow::MainWindow() : QMainWindow(),
|
||||
profLayout->addWidget(toolBar);
|
||||
profLayout->addWidget(profileWidget);
|
||||
profileContainer->setLayout(profLayout);
|
||||
|
||||
DivePictureWidget *divePictures = new DivePictureWidget(this);
|
||||
divePictures->setModel(DivePictureModel::instance());
|
||||
registerApplicationState("Default", mainTab, profileContainer, diveListView, globeGps );
|
||||
registerApplicationState("AddDive", mainTab, profileContainer, diveListView, globeGps );
|
||||
registerApplicationState("EditDive", mainTab, profileContainer, diveListView, globeGps );
|
||||
registerApplicationState("PlanDive", plannerWidget, profileContainer, plannerSettings, plannerDetails );
|
||||
registerApplicationState("EditPlannedDive", plannerWidget, profileContainer, diveListView, globeGps );
|
||||
registerApplicationState("EditDiveSite",locationInformation, profileContainer, diveListView, globeGps );
|
||||
registerApplicationState("EditDiveSite",locationInformation, divePictures, diveListView, globeGps );
|
||||
|
||||
setApplicationState("Default");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user