diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-14 23:22:24 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2021-01-20 08:47:18 +0100 |
commit | ada5e8a49d7f0944dc3ff5ee49960298c3af9535 (patch) | |
tree | 5bc7474f141e24ed34a6ec08f428239613fa1ed3 /appdata | |
parent | 9b7565e81a0b62711eaeafb633047a819e149170 (diff) | |
download | subsurface-ada5e8a49d7f0944dc3ff5ee49960298c3af9535.tar.gz |
statistics: turn axes into QSGNode
Render the labels and the title into a pixmap and render
the ticks and the base line using individual QSGNodes.
Attempting to render the ticks likewise into the pixmap
gave horrible results, because (quite obviously) rendering
with QPainter and the QSG shader gives non-matching ticks
and grid lines.
The memory management had to be changed a bit: The ChartItems
were collected in the root QSGNode. However, the axes are added
before the first plotting, so this node might not exist.
Therefore, store the axes in the StatsView object.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'appdata')
0 files changed, 0 insertions, 0 deletions