subsurface/stats
Berthold Stoeger e7907c494f statistics: convert chart to QQuickItem
It turns out that the wrong base class was used for the chart.
QQuickWidget can only be used on desktop, not in a mobile UI.

Therefore, turn this into a QQuickItem and move the container
QQuickWidget into desktop-only code.

Currently, this code is insane: The chart is rendered onto a
QGraphicsScene (as it was before), which is then rendered into
a QImage, which is transformed into a QSGTexture, which is then
projected onto the device. This is performed on every mouse
move event, since these events in general change the position
of the info-box.

The plan is to slowly convert elements such as the info-box into
QQuickItems. Browsing the QtQuick documentation, this will
not be much fun.

Also note that the rendering currently tears, flickers and has
antialiasing artifacts, most likely owing to integer (QImage)
to floating point (QGraphicsScene, QQuickItem) conversion
problems. The data flow is
QGraphicsScene (float) -> QImage (int) -> QQuickItem (float).

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-01-10 15:16:52 -08:00
..
barseries.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
barseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
boxseries.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
boxseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
chartlistmodel.cpp statistics: charts drop down looks better with smaller icons 2021-01-03 13:56:01 -08:00
chartlistmodel.h statistics: add a model that describes a list of charts 2021-01-03 13:41:15 -08:00
CMakeLists.txt statistics: paint custom grid 2021-01-06 12:31:22 -08:00
informationbox.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
informationbox.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
legend.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
legend.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
pieseries.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
pieseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
scatterseries.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
scatterseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsaxis.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsaxis.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statscolors.cpp
statscolors.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsgrid.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsgrid.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statshelper.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsseries.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsstate.cpp statistics: don't reset binner if binner is set 2021-01-03 15:41:36 -08:00
statsstate.h statistics: reverse chart selection logic 2021-01-03 13:41:15 -08:00
statstranslations.h
statsvariables.cpp statistics: fix 20 m binner 2021-01-10 14:45:12 -08:00
statsvariables.h statistics: add count to box and whisker plots 2021-01-10 14:45:12 -08:00
statsview.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsview.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
zvalues.h statistics: paint custom grid 2021-01-06 12:31:22 -08:00