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 --- stats/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stats/CMakeLists.txt') diff --git a/stats/CMakeLists.txt b/stats/CMakeLists.txt index c0fbe3c51..105096436 100644 --- a/stats/CMakeLists.txt +++ b/stats/CMakeLists.txt @@ -19,6 +19,8 @@ set(SUBSURFACE_STATS_SRCS legend.cpp pieseries.h pieseries.cpp + quartilemarker.h + quartilemarker.cpp scatterseries.h scatterseries.cpp statsaxis.h -- cgit v1.2.3-70-g09d2