subsurface/desktop-widgets/tab-widgets
Berthold Stoeger 1daa4f0584 core: C++-ify statistics.c
The old code was wild: For the yearly statistics it would allocate
one entry per dive in the log. Of course, it would also leak
C-style strings.

Convert the whole thing to somewhat idiomatic C++.

Somewhat wasted work, because I'd like to convert the whole thing
to the new statistics code. But let's finish the conversion to C++
first.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +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 Equipment: Include Unused Tanks in Merge if Preference is Enabled. 2023-07-25 11:19:03 +12: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: Add Auto-sizing to the Extra Info Table. 2024-05-08 08:26:56 -07: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 core: C++-ify statistics.c 2024-08-13 19:28:30 +02:00
TabDiveInformation.h Fix salinity combo/icon when DC doesnt have salinity info 2023-07-09 20:36:46 +12:00
TabDiveInformation.ui desktop: generalize the colorization of the tab widget 2020-11-03 23:08:39 -08:00
TabDiveNotes.cpp Cleanup: Improve the Use of 'Planned dive' and 'Manually added dive'. 2024-05-25 20:13:45 +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 core: C++-ify statistics.c 2024-08-13 19:28:30 +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