subsurface/stats
Berthold Stoeger 5d5ebfcf3c statistics: implement showing / hiding of items in QSG
To replace the QGraphicsScene, we need the possibility of
showing and hiding items.

Turns out, the QSG API is completely insane.

Whether an item should be shown is queried by the virtual
function isSubtreeBlocked(), which is supposed to be
overriden by the derived classes.

However, the common nodes for rectangles and pixmaps are
supposed to be created by QQuickWindow, for hardware
optimization. This gives nodes that cannot be derived
from and therefore whether the item is shown or not cannot
be controlled.

There are therefore two distinct cases to consider: The
node is allocated by the code directly or indirectly by
QQuickWindow.

In the latter case, we use a proxy node with the only
purpose of having a "visible" flag and add the obtained
node as a child.

This madness is performed with template trickery to get
unified code.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-01-20 08:47:18 +01:00
..
barseries.cpp statistics: implement showing / hiding of items in QSG 2021-01-20 08:47:18 +01:00
barseries.h statistics: convert bar series to QSGNodes 2021-01-20 08:47:18 +01:00
boxseries.cpp statistics: turn infobox into a QSGNode 2021-01-20 08:47:18 +01:00
boxseries.h statistics: pass view to series 2021-01-20 08:47:18 +01:00
chartitem.cpp statistics: implement showing / hiding of items in QSG 2021-01-20 08:47:18 +01:00
chartitem.h statistics: implement showing / hiding of items in QSG 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: add notion of Z-value to chart items 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: remember position of legend when resizing 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: turn infobox into a QSGNode 2021-01-20 08:47:18 +01:00
pieseries.h statistics: pass view to series 2021-01-20 08:47:18 +01:00
quartilemarker.cpp statistics: convert QuartileMarkers to QSGNodes 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 statistics: render regression item using QSGNode 2021-01-20 08:47:18 +01:00
regressionitem.h statistics: render regression item using QSGNode 2021-01-20 08:47:18 +01:00
scatterseries.cpp statistics: turn infobox into a QSGNode 2021-01-20 08:47:18 +01:00
scatterseries.h statistics: pass view to series 2021-01-20 08:47:18 +01:00
statsaxis.cpp statistics: turn axes into QSGNode 2021-01-20 08:47:18 +01:00
statsaxis.h statistics: turn axes into QSGNode 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: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsgrid.cpp statistics: turn ChartGrid into QSGNodes 2021-01-20 08:47:18 +01:00
statsgrid.h statistics: turn ChartGrid into QSGNodes 2021-01-20 08:47:18 +01:00
statshelper.h statistics: implement showing / hiding of items in QSG 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: pass view to series 2021-01-20 08:47:18 +01:00
statsseries.h statistics: pass view to series 2021-01-20 08:47:18 +01:00
statsstate.cpp statistics: don't reset binner if binner is set 2021-01-03 15:41:36 -08:00
statsstate.h statistics: reverse chart selection logic 2021-01-03 13:41:15 -08: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: render regression item using QSGNode 2021-01-20 08:47:18 +01:00
statsview.h statistics: render regression item using QSGNode 2021-01-20 08:47:18 +01:00
zvalues.h statistics: add notion of Z-value to chart items 2021-01-20 08:47:18 +01:00