subsurface/desktop-widgets/tab-widgets
Berthold Stoeger 19baae449d tab-widgets: pass current dive computer to delegates
Don't access the global current_dc, but pass it to the sensor and
tank-use delegates, when the current dive or dive computer changes.
The same pattern is already realized for the tank and weight models.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2023-04-16 20:23:59 +02:00
..
maintab.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
maintab.h selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabBase.cpp desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabBase.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveEquipment.cpp tab-widgets: pass current dive computer to delegates 2023-04-16 20:23:59 +02:00
TabDiveEquipment.h tab-widgets: make delegates subobject 2023-04-16 20:23:59 +02:00
TabDiveEquipment.ui
TabDiveExtraInfo.cpp desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveExtraInfo.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveExtraInfo.ui
TabDiveInformation.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabDiveInformation.h selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabDiveInformation.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveNotes.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabDiveNotes.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveNotes.ui
TabDivePhotos.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabDivePhotos.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDivePhotos.ui
TabDiveStatistics.cpp selection: remove current_dive and dc_number access from tabwidgets 2023-04-16 20:23:59 +02:00
TabDiveStatistics.h desktop: store pointer to parent in tab-widgets 2023-04-16 20:23:59 +02:00
TabDiveStatistics.ui