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 desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
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 Cleanup: Move dive-equipment tab into own translation units 2019-04-15 10:30:04 +12:00
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 cleanup: break out the dive-notes tab 2022-03-12 18:33:32 +01:00
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 Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
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 Reorganise the current statistics tab 2020-11-04 11:34:26 -08:00