diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-18 13:14:38 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2021-01-20 08:47:18 +0100 |
commit | 9d3de1801e8d14f5143f95042f3b842551d4c4cd (patch) | |
tree | 6e53c10b4d54acc5f977262a1ef4fd1dfb72f80f /stats/statsview.h | |
parent | 51f67c6350b7e87051a45fa85aaffb332e3ac517 (diff) | |
download | subsurface-9d3de1801e8d14f5143f95042f3b842551d4c4cd.tar.gz |
statistics: remove QSceneGraph
All items are now painted with QSG.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/statsview.h')
-rw-r--r-- | stats/statsview.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/stats/statsview.h b/stats/statsview.h index 1736af219..bf8ad48a2 100644 --- a/stats/statsview.h +++ b/stats/statsview.h @@ -5,7 +5,6 @@ #include "statsstate.h" #include <memory> #include <QFont> -#include <QGraphicsScene> #include <QImage> #include <QPainter> #include <QQuickItem> @@ -58,10 +57,6 @@ private: // QtQuick related things QRectF plotRect; QSGNode *updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeData *updatePaintNodeData) override; - std::unique_ptr<QImage> img; - std::unique_ptr<QPainter> painter; - QGraphicsScene scene; - std::unique_ptr<QSGTexture> texture; void plotAreaChanged(const QSizeF &size); void reset(); // clears all series and axes |