summaryrefslogtreecommitdiffstats
path: root/src/charts/qabstractseries.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2016-08-19 15:16:32 +0300
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2016-08-24 10:37:18 +0000
commit8a4f42d88b32747e0c222b06638b8f2aef4d9701 (patch)
tree782957ffd4cdcab12cbcba0ca241bd7bd2d54569 /src/charts/qabstractseries.cpp
parentd43d429ea710b1885719b131b2acac42cd955ccb (diff)
Add mouse events support for OpenGL accelerated series
On QML side, the mouse events for accelerated series work asynchronously, as the rendering is typically done in a different thread. Change-Id: I08c478768b40ed90b34b0904b7a3e74e315c3caa Reviewed-by: Mika Salmela <mika.salmela@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/charts/qabstractseries.cpp')
-rw-r--r--src/charts/qabstractseries.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/charts/qabstractseries.cpp b/src/charts/qabstractseries.cpp
index f35bef08..271f7f66 100644
--- a/src/charts/qabstractseries.cpp
+++ b/src/charts/qabstractseries.cpp
@@ -174,7 +174,6 @@ QT_CHARTS_BEGIN_NAMESPACE
The scatter dots may be circular or rectangular, depending on the underlying graphics
hardware and drivers.
\li Polar charts do not support accelerated series.
- \li Mouse events are not supported for accelerated series.
\li Enabling chart drop shadow or using transparent chart background color is not recommended
when using accelerated series, as that can slow the frame rate down significantly.
\endlist
@@ -190,10 +189,9 @@ QT_CHARTS_BEGIN_NAMESPACE
chart when using accelerated series.
\li Accelerated series are not supported for use cases where the graphics scene has more than
one graphics view attached to it.
- \li Accelerated series are not supported for use cases where the chart doesn't fill the entire
- graphics view or has non-default geometry. For example, scrolling the view with scroll
- bars or adding transformations to the graphics view cause the accelerated series to
- be drawn in incorrect position related to the chart.
+ \li Accelerated series are not supported for use cases where the chart has non-default geometry.
+ For example, adding transforms to the graphics view causes the accelerated series to
+ be drawn in an incorrect position related to the chart.
\endlist
The default value is \c{false}.
@@ -229,7 +227,7 @@ QT_CHARTS_BEGIN_NAMESPACE
The scatter dots may be circular or rectangular, depending on the underlying graphics
hardware and drivers.
\li Polar charts do not support accelerated series.
- \li Mouse events are not supported for accelerated series.
+ \li Mouse events for series are reported asynchronously.
\li Enabling chart drop shadow or using transparent chart background color is not recommended
when using accelerated series, as that can slow the frame rate down significantly.
\endlist