From 790d2b2ddb36fd39fe8f002290288603ba1f0065 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 14 Jan 2021 08:48:56 +0100 Subject: statistics: convert QuartileMarkers to QSGNodes Slowly converting the QGraphicsScene items to QSGNodes to avoid full replot of the scene. This adds a new abstraction for line-nodes. Since the render() function here is fundamentally different from the pixmap-nodes we had so far, this has to be made virtual. Also, move the quartile markers to their own source file, since the StatsView source file is quite huge already. Signed-off-by: Berthold Stoeger --- Subsurface-mobile.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Subsurface-mobile.pro') diff --git a/Subsurface-mobile.pro b/Subsurface-mobile.pro index e2a724633..b113eebfe 100644 --- a/Subsurface-mobile.pro +++ b/Subsurface-mobile.pro @@ -136,6 +136,7 @@ SOURCES += subsurface-mobile-main.cpp \ stats/informationbox.cpp \ stats/legend.cpp \ stats/pieseries.cpp \ + stats/quartilemarker.cpp \ stats/scatterseries.cpp \ stats/statsaxis.cpp \ stats/statscolors.cpp \ @@ -285,6 +286,7 @@ HEADERS += \ stats/informationbox.h \ stats/legend.h \ stats/pieseries.h \ + stats/quartilemarker.h \ stats/scatterseries.h \ stats/statsaxis.h \ stats/statscolors.h \ -- cgit v1.2.3-70-g09d2