subsurface/stats
Berthold Stoeger a527415ac9 profile: move dragging code from stats to general qt-code
So far, the only dragable item was the legend in the statistics
code. On the profile, we will have multiple dragable items.

Therefore, move the code up and make it more general. This
took some reorganization. Now, the size of the ChartItem
is saved in the base class. Also, setPos() became a virtual
function.

The dragable items are kept as an unsorted list.
If there will be many of them, this should be changed to
some sort of sorted list (maybe quadtree?).

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-09-12 15:15:31 +02:00
..
barseries.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
barseries.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
boxseries.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
boxseries.h statistics: collect colors in a StatsTheme class 2022-03-16 15:26:54 -07:00
chartitem.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
chartitem.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02: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 stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
histogrammarker.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
informationbox.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
informationbox.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
legend.cpp profile: move dragging code from stats to general qt-code 2024-09-12 15:15:31 +02:00
legend.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
pieseries.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
pieseries.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
quartilemarker.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
quartilemarker.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
regressionitem.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
regressionitem.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
scatterseries.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
scatterseries.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
statsaxis.cpp stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
statsaxis.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02: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 stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02:00
statshelper.cpp statistics: highlight selected boxes in box plot 2021-02-13 13:02:54 -08:00
statshelper.h stats: break out common QtQuick part of the code 2024-09-11 10:35:04 +02: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
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 profile: move dragging code from stats to general qt-code 2024-09-12 15:15:31 +02:00
statsview.h profile: move dragging code from stats to general qt-code 2024-09-12 15:15:31 +02:00
zvalues.h cleanup: fix include guards for stats/zvalues.h 2024-09-11 10:35:04 +02:00