aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util/qquickforeignutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/util/qquickforeignutils.cpp')
-rw-r--r--src/quick/util/qquickforeignutils.cpp31
1 files changed, 13 insertions, 18 deletions
diff --git a/src/quick/util/qquickforeignutils.cpp b/src/quick/util/qquickforeignutils.cpp
index e8e60bbc92..242d961cdc 100644
--- a/src/quick/util/qquickforeignutils.cpp
+++ b/src/quick/util/qquickforeignutils.cpp
@@ -10,6 +10,7 @@ QT_BEGIN_NAMESPACE
\instantiates QEventPoint
\inqmlmodule QtQuick
\brief Qml equivalent for \l QEventPoint.
+ \sa handlerPoint
eventPoint is the Qml value type representation
of \l QEventPoint.
@@ -19,7 +20,7 @@ QT_BEGIN_NAMESPACE
\list
\li \l bool \c eventPoint.accepted: see also \l QEventPoint::accepted
- \li \l pointingDevice \c eventPoint.device: see also \l QEventPoint::device
+ \li \l PointerDevice \c eventPoint.device: see also \l QEventPoint::device
\li \l size \c eventPoint.ellipseDiameters: see also \l QEventPoint::ellipseDiameters
\li \l point \c eventPoint.globalGrabPosition: see also \l QEventPoint::globalGrabPosition
\li \l point \c eventPoint.globalLastPosition: see also \l QEventPoint::globalLastPosition
@@ -49,27 +50,21 @@ QT_BEGIN_NAMESPACE
State supports the following values:
- \table
- \row
- \li \c Qt.TouchPointUnknownState
- \li Unknown state.
- \row
- \li \c Qt.TouchPointStationary
- \li The event point did not move.
- \row
- \li \c Qt.TouchPointPressed
- \li The touch point or button is pressed.
- \row
- \li \c Qt.TouchPointMoved
- \li The event point was updated.
- \row
- \li \c Qt.TouchPointReleased
- \li The touch point or button was released.
- \endtable
+ \value EventPoint.Unknown
+ Unknown state; same as Qt.TouchPointUnknownState
+ \value EventPoint.Stationary
+ The event point did not move; same as Qt.TouchPointStationary
+ \value EventPoint.Pressed
+ The touch point or button is pressed; same as Qt.TouchPointPressed
+ \value EventPoint.Updated
+ The event point was updated; same as Qt.TouchPointMoved
+ \value EventPoint.Released
+ The touch point or button was released; same as Qt.TouchPointReleased
The States type is a typedef for \l {QFlags} {QFlags<State>}. It stores an OR combination of
State values. See also \l QEventPoint::States
+ \snippet pointerHandlers/tapHandlerGrabChanged.qml 0
*/
QT_END_NAMESPACE