subsurface/desktop-widgets/tab-widgets
Berthold Stoeger ed8ad9ac80 desktop: query DivePlannerPointsModel for planner state
MainTab::updateDiveInfo() is not executed when in the planner.
To decide whether the application is in the planner state,
it queried the profile. Instead, query the DivePlannerPointsModel.

Currently, there is no autoritative carrier of that flag.
However, the MainTab has a dependency on DivePlannerPointsModel
anyway, and therefore this removes a dependency on the
profile. This brings us closer to a state where we can have
multiple profiles.

Ultimately, it is hoped that the whole check can be removed
at this place, making the point moot.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-04-02 13:53:23 -07:00
..
maintab.cpp desktop: query DivePlannerPointsModel for planner state 2021-04-02 13:53:23 -07:00
maintab.h cleanup: remove empty function MainTab::reload() 2020-11-14 10:01:50 -08:00
maintab.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabBase.cpp desktop: automatically pick a good theme title color 2020-11-04 14:47:10 -08:00
TabBase.h desktop: automatically pick a good theme title color 2020-11-04 14:47:10 -08:00
TabDiveComputer.cpp desktop: fix saving of column-widths of device and site tables 2020-11-07 11:37:51 -08:00
TabDiveComputer.h desktop: fix saving of column-widths of device and site tables 2020-11-07 11:37:51 -08:00
TabDiveComputer.ui desktop: rename table widget in DiveComputerTab to "devices" 2020-11-07 11:37:51 -08:00
TabDiveEquipment.cpp desktop: automatically reload completion-models 2020-11-14 10:01:50 -08:00
TabDiveEquipment.h
TabDiveEquipment.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveExtraInfo.cpp
TabDiveExtraInfo.h
TabDiveExtraInfo.ui
TabDiveInformation.cpp profile: detect dive-mode change in profile 2021-02-06 10:00:39 -08:00
TabDiveInformation.h desktop: automatically pick a good theme title color 2020-11-04 14:47:10 -08:00
TabDiveInformation.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDivePhotos.cpp
TabDivePhotos.h
TabDivePhotos.ui
TabDiveSite.cpp desktop: fix saving of column-widths of device and site tables 2020-11-07 11:37:51 -08:00
TabDiveSite.h desktop: fix saving of column-widths of device and site tables 2020-11-07 11:37:51 -08:00
TabDiveSite.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveStatistics.cpp desktop: allow update of tab widget colors at run time 2020-11-03 23:08:39 -08:00
TabDiveStatistics.h
TabDiveStatistics.ui Reorganise the current statistics tab 2020-11-04 11:34:26 -08:00