mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
statistics: remove QSceneGraph
All items are now painted with QSG. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
51f67c6350
commit
9d3de1801e
3 changed files with 10 additions and 52 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue