subsurface/stats
Berthold Stoeger 54ff31f5c1 statistics: do resizing in UI thread, not render thread
The updatePaintNode() function, which is run on the render
thread detected a geometry change and initiated recalculation
of the chart layout.

This means that plotAreaChanged() was called in two different
thread contexts, which is questionable. Instead, hook into
the geometryChanged() function and recalculate the chart items
there.

This fixes a rendering bug, because the old code would first
delete unneeded items and then rerender the chart. Thus, old
grid and tick items were still visible.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-01-21 13:42:14 -08:00
..
barseries.cpp statistics: render bar and pie labels onto fill color 2021-01-20 08:47:18 +01:00
barseries.h statistics: render bar and pie labels onto fill color 2021-01-20 08:47:18 +01:00
boxseries.cpp statistics: refactor QSG memory management 2021-01-20 08:47:18 +01:00
boxseries.h statistics: refactor QSG memory management 2021-01-20 08:47:18 +01:00
chartitem.cpp statistics: render bar and pie labels onto fill color 2021-01-20 08:47:18 +01:00
chartitem.h statistics: render bar and pie labels onto fill color 2021-01-20 08:47:18 +01:00
chartlistmodel.cpp statistics: add count property to chart list 2021-01-13 11:39:36 -08:00
chartlistmodel.h statistics: add count property to chart list 2021-01-13 11:39:36 -08:00
CMakeLists.txt statistics: render regression item using QSGNode 2021-01-20 08:47:18 +01: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: move colors to statscolors.h 2021-01-20 08:47:18 +01: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: render bar and pie labels onto fill color 2021-01-20 08:47:18 +01:00
pieseries.h statistics: don't replot chart when changing features 2021-01-20 08:47:18 +01: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 Merge branch 'tvalue' 2021-01-20 09:54:03 -08:00
regressionitem.h statistics: make confidence area and regression line opt-in 2021-01-20 08:47:18 +01:00
scatterseries.cpp statistics: refactor QSG memory management 2021-01-20 08:47:18 +01:00
scatterseries.h statistics: refactor QSG memory management 2021-01-20 08:47:18 +01: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
statscolors.h statistics: move colors to statscolors.h 2021-01-20 08:47:18 +01: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.h statistics: refactor QSG memory management 2021-01-20 08:47:18 +01:00
statsicons.qrc mobile/statistics: make icons available in mobile app 2021-01-19 12:35:29 -08:00
statsseries.cpp statistics: remove QGraphicsView from StatSeries 2021-01-20 08:47:18 +01:00
statsseries.h statistics: remove QGraphicsView from StatSeries 2021-01-20 08:47:18 +01:00
statsstate.cpp statistics: make confidence area and regression line opt-in 2021-01-20 08:47:18 +01:00
statsstate.h statistics: make confidence area and regression line opt-in 2021-01-20 08:47:18 +01:00
statstranslations.h
statsvariables.cpp statistics: split people binner 2021-01-10 15:56:40 -08:00
statsvariables.h statistics: add count to box and whisker plots 2021-01-10 14:45:12 -08:00
statsview.cpp statistics: do resizing in UI thread, not render thread 2021-01-21 13:42:14 -08:00
statsview.h statistics: do resizing in UI thread, not render thread 2021-01-21 13:42:14 -08:00
zvalues.h statistics: remove float z-value 2021-01-20 08:47:18 +01:00