mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
e1c0cace95
The chart items were drawn in order of creation. To control this, add a notion of Z-value. In contrast to QGraphicsScene, make this a small integer value. To controll order of drawing, a plain QSGNode is created for every possible Z-Value and items are added to these nodes. Thus, items are rendered by Z-value and if the Z-value is equal by order of creation. Likewise split the list of chart-items into Z-values, so that items can be quickly unregistered: The items that will be removed individually will usuall be part of Z-levels with only few items (e.g. legend, infobox). Z-levels with many items (notably the series) will always be fully rebuilt. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |
||
---|---|---|
.. | ||
barseries.cpp | ||
barseries.h | ||
boxseries.cpp | ||
boxseries.h | ||
chartitem.cpp | ||
chartitem.h | ||
chartlistmodel.cpp | ||
chartlistmodel.h | ||
CMakeLists.txt | ||
informationbox.cpp | ||
informationbox.h | ||
legend.cpp | ||
legend.h | ||
pieseries.cpp | ||
pieseries.h | ||
scatterseries.cpp | ||
scatterseries.h | ||
statsaxis.cpp | ||
statsaxis.h | ||
statscolors.cpp | ||
statscolors.h | ||
statsgrid.cpp | ||
statsgrid.h | ||
statshelper.h | ||
statsicons.qrc | ||
statsseries.cpp | ||
statsseries.h | ||
statsstate.cpp | ||
statsstate.h | ||
statstranslations.h | ||
statsvariables.cpp | ||
statsvariables.h | ||
statsview.cpp | ||
statsview.h | ||
zvalues.h |