summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-11-29 11:37:30 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2013-11-29 11:38:28 +0100
commit8e04691543ae3906e011f47d446ac7a94034259e (patch)
tree9cf166dcef514bbc965d570121d0b3022aad27da /src/gui/kernel/qevent.cpp
parentad684ff2a7d91a948ad9d2f3765dd08c78d81020 (diff)
parent7d5448d9e2ae4d2d10c0cff867cf34b315336feb (diff)
Merge remote-tracking branch 'origin/release' into stable
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r--src/gui/kernel/qevent.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 28666085a7..88f132b877 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -709,6 +709,12 @@ QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF& globalPos,
Example:
\snippet code/src_gui_kernel_qevent.cpp 0
+
+ \note On platforms that support scrolling \l{phase()}{phases}, the delta may be null when:
+ \list
+ \li scrolling is about to begin, but the distance did not yet change (Qt::ScrollBegin),
+ \li or scrolling has ended and the distance did not change anymore (Qt::ScrollEnd).
+ \endlist
*/
/*!
@@ -731,6 +737,12 @@ QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF& globalPos,
Example:
\snippet code/src_gui_kernel_qevent.cpp 0
+
+ \note On platforms that support scrolling \l{phase()}{phases}, the delta may be null when:
+ \list
+ \li scrolling is about to begin, but the distance did not yet change (Qt::ScrollBegin),
+ \li or scrolling has ended and the distance did not change anymore (Qt::ScrollEnd).
+ \endlist
*/
/*!
@@ -830,6 +842,9 @@ QWheelEvent::QWheelEvent(const QPointF &pos, const QPointF& globalPos,
\since 5.2
Returns the scrolling phase of this wheel event.
+
+ \note The Qt::ScrollBegin and Qt::ScrollEnd phases are currently
+ supported only on Mac OS X.
*/