subsurface/stats
Berthold Stoeger d36fd79527 core: move total_weight() into struct dive
Feels natural in a C++ code base.

Change the function to return a weight_t. Sadly, use of the
units.h types is very inconsistent and many parts of the code
use int or double instead. So let's try to make this consistent.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-08-13 19:28:30 +02:00
..
barseries.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
barseries.h statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
boxseries.cpp statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
boxseries.h statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
chartitem.cpp statistics: don't use DrawTriangleFan and DrawLineLoop modes 2022-11-19 15:07:07 -08:00
chartitem.h statistics: properly initialized selected scatter items 2022-10-19 14:35:15 -07:00
chartlistmodel.cpp cleanup: silence std::move()-related Coverity warnings 2024-01-15 15:11:36 -08:00
chartlistmodel.h cleanup: remove 'const constexpr' pairs 2021-12-17 10:36:13 -08:00
CMakeLists.txt statistics: make selection keyboard modifiers more general 2021-02-13 13:02:54 -08:00
histogrammarker.cpp statistics: convert HistogramMarkers to QSGNodes 2021-01-20 08:47:18 +01:00
histogrammarker.h statistics: convert HistogramMarkers to QSGNodes 2021-01-20 08:47:18 +01:00
informationbox.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
informationbox.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
legend.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
legend.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
pieseries.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
pieseries.h statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
quartilemarker.cpp statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
quartilemarker.h statistics: convert QuartileMarkers to QSGNodes 2021-01-20 08:47:18 +01:00
regressionitem.cpp statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
regressionitem.h statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
scatterseries.cpp selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
scatterseries.h statistics: make selection keyboard modifiers more general 2021-02-13 13:02:54 -08:00
statsaxis.cpp preferences: use std::string in struct preferences 2024-08-13 19:28:30 +02:00
statsaxis.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
statscolors.cpp statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
statscolors.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
statsgrid.cpp statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
statsgrid.h statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
statshelper.cpp statistics: highlight selected boxes in box plot 2021-02-13 13:02:54 -08:00
statshelper.h Qt6: fully define dive structure 2022-03-12 08:28:32 -08:00
statsicons.qrc mobile/statistics: make icons available in mobile app 2021-01-19 12:35:29 -08:00
statsselection.cpp selection: move current dive and divecomputer to selection.cpp 2023-04-16 20:23:59 +02:00
statsselection.h statistics: support ctrl-selection for all series 2021-02-13 13:02:54 -08:00
statsseries.cpp statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
statsseries.h statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
statsstate.cpp cleanup: more Coverity silencing 2024-01-17 14:23:19 -08:00
statsstate.h statistics: add a sort mode for categorical bar charts 2022-01-04 11:14:24 -08:00
statstranslations.h statistics: add statistic variables 2021-01-01 21:10:10 +01:00
statsvariables.cpp core: move total_weight() into struct dive 2024-08-13 19:28:30 +02:00
statsvariables.h statistics: save dive list with quartiles 2021-02-13 13:02:54 -08:00
statsview.cpp cleanup: more Coverity silencing 2024-01-17 14:23:19 -08:00
statsview.h statistics: make fonts themeable 2022-03-16 15:26:54 -07:00
zvalues.h statistics: implement rectangle selection in scatter plot 2021-02-13 13:02:54 -08:00