subsurface/desktop-widgets/tab-widgets
Michael Keller 1e3d378ad9 Cylindermodel: Improve editing of tank use
Use the drop down for editing the tank use in the gas list in both the
equipment tab and the dive planner.
The tank use column is now available in the equipment tab for all dives
and not just CCR dives, as 'not used' is a valid entry in both cases.
However, if the current dive is an OC dive, only 'OC-gas' and 'not used' are
shown.
There still seems to be a problem that in some cases, when opening the
planner after selecting an existing CCR dive the drop down in the
planner does not list CCR gas uses - for some reason `displayed_dive`
does not seem to be updated correctly on opening of the planner. But I have not been able to
reproduce this consistently, and changing 'Dive mode' fixes this.

Signed-off-by: Michael Keller <github@ike.ch>
2023-02-07 14:20:29 +01:00
..
maintab.cpp Merge remote-tracking branch 'origin/bstoeger-divesites' 2022-09-23 08:02:54 -07:00
maintab.h cleanup: remove maintab.ui 2022-03-12 18:33:34 +01:00
TabBase.cpp cleanup: replace empty TabBase constructor by using directive 2022-03-12 18:33:34 +01:00
TabBase.h cleanup: replace empty TabBase constructor by using directive 2022-03-12 18:33:34 +01:00
TabDiveEquipment.cpp Cylindermodel: Improve editing of tank use 2023-02-07 14:20:29 +01:00
TabDiveEquipment.h cylinders: only hide cylinders at the end of the list 2021-12-13 11:54:24 -08:00
TabDiveEquipment.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveExtraInfo.cpp core: remove current_dc macro 2022-03-13 15:07:33 -07:00
TabDiveExtraInfo.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
TabDiveExtraInfo.ui Cleanup: Move dive-equipment tab into own translation units 2019-04-15 10:30:04 +12:00
TabDiveInformation.cpp core: don't consider dives with many samples as manually added 2022-10-21 16:51:57 -07: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
TabDiveNotes.cpp core: don't consider dives with many samples as manually added 2022-10-21 16:51:57 -07:00
TabDiveNotes.h cleanup: break out the dive-notes tab 2022-03-12 18:33:32 +01:00
TabDiveNotes.ui cleanup: break out the dive-notes tab 2022-03-12 18:33:32 +01:00
TabDivePhotos.cpp cleanup: replace membuffer by membufferpp in C-code 2021-07-23 11:22:43 -07:00
TabDivePhotos.h Write dive data as video subtitles 2019-04-16 20:38:19 +02:00
TabDivePhotos.ui
TabDiveStatistics.cpp desktop: fix div-by-zero when selecting multiple invalid dives 2021-10-11 20:53:41 +03:00
TabDiveStatistics.h desktop: move MinMaxAvgWidget to TabDiveStatistics 2020-10-26 20:56:56 -07:00
TabDiveStatistics.ui Reorganise the current statistics tab 2020-11-04 11:34:26 -08:00