subsurface/stats
Dirk Hohndel 59fe2f3d7e cleanup: prevent distracing conversion warnings
We do want the -Wfloat-conversion warnings where they point out
potential bugs. But they are very distracting when they are triggered by
floating point literals (which the standard defines as double) passed to
a function expecting float arguments.

The fact that Qt6 changes the arguments to all these functions from
double to float is... hard to explain, but it is what it is. With these
changes, for the majority of cases we create inlined helpers that
conditionally compile to do the right thing. And in a handful of other
cases we simply cast to float (and accept that on Qt5 this then gets
cast back to double... for none of these cases the potential loss in
precision makes any difference, anyway - which likely is why the Qt
community made the decision to change the type of the arguments in the
first place).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2022-03-12 08:28:32 -08:00
..
barseries.cpp statistics: implement shift-selection of ranges 2021-02-13 13:02:54 -08:00
barseries.h statistics: implement shift-selection of ranges 2021-02-13 13:02:54 -08:00
boxseries.cpp statistics: implement shift-selection of ranges 2021-02-13 13:02:54 -08:00
boxseries.h statistics: implement shift-selection of ranges 2021-02-13 13:02:54 -08:00
chartitem.cpp statistics: highlight selected pie slices 2021-02-13 13:02:54 -08:00
chartitem.h statistics: highlight selected pie slices 2021-02-13 13:02:54 -08:00
chartlistmodel.cpp statistics: add count property to chart list 2021-01-13 11:39: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 stats: initialize InformationBox::width and height members 2021-03-08 16:29:04 -08:00
informationbox.h statistics: turn infobox into a QSGNode 2021-01-20 08:47:18 +01:00
legend.cpp statistics: move colors to statscolors.h 2021-01-20 08:47:18 +01:00
legend.h statistics: remember position of legend when resizing 2021-01-20 08:47:18 +01:00
pieseries.cpp statistics: add a sort mode for categorical bar charts 2022-01-04 11:14:24 -08:00
pieseries.h statistics: add a sort mode for categorical bar charts 2022-01-04 11:14:24 -08:00
quartilemarker.cpp statistics: move colors to statscolors.h 2021-01-20 08:47:18 +01:00
quartilemarker.h statistics: convert QuartileMarkers to QSGNodes 2021-01-20 08:47:18 +01:00
regressionitem.cpp cleanup: prevent distracing conversion warnings 2022-03-12 08:28:32 -08:00
regressionitem.h statistics: make confidence area and regression line opt-in 2021-01-20 08:47:18 +01:00
scatterseries.cpp statistics: support ctrl-selection for all series 2021-02-13 13:02:54 -08:00
scatterseries.h statistics: make selection keyboard modifiers more general 2021-02-13 13:02:54 -08:00
statsaxis.cpp statistics: fix range in categorical axes 2021-01-20 08:47:18 +01:00
statsaxis.h statistics: refactor QSG memory management 2021-01-20 08:47:18 +01:00
statscolors.cpp statistics: add color-related functions 2021-01-01 21:10:10 +01:00
statscolors.h statistics: highlight selected bar 2021-02-13 13:02:54 -08:00
statsgrid.cpp statistics: refactor QSG memory management 2021-01-20 08:47:18 +01:00
statsgrid.h statistics: refactor QSG memory management 2021-01-20 08:47:18 +01:00
statshelper.cpp statistics: highlight selected boxes in box plot 2021-02-13 13:02:54 -08:00
statshelper.h statistics: highlight selected boxes in box plot 2021-02-13 13:02:54 -08:00
statsicons.qrc mobile/statistics: make icons available in mobile app 2021-01-19 12:35:29 -08:00
statsselection.cpp statistics: support ctrl-selection for all series 2021-02-13 13:02:54 -08:00
statsselection.h statistics: support ctrl-selection for all series 2021-02-13 13:02:54 -08:00
statsseries.cpp statistics: make selection keyboard modifiers more general 2021-02-13 13:02:54 -08:00
statsseries.h statistics: make selection keyboard modifiers more general 2021-02-13 13:02:54 -08:00
statsstate.cpp statistics: add a sort mode for categorical bar charts 2022-01-04 11:14:24 -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 cleanup: use already defined constant 2022-03-12 08:28:32 -08:00
statsvariables.h statistics: save dive list with quartiles 2021-02-13 13:02:54 -08:00
statsview.cpp statistics: add a sort mode for categorical bar charts 2022-01-04 11:14:24 -08:00
statsview.h statistics: add a sort mode for categorical bar charts 2022-01-04 11:14:24 -08:00
zvalues.h statistics: implement rectangle selection in scatter plot 2021-02-13 13:02:54 -08:00