GestureEvent QML Type
The parameter given with the gestureStarted signal. More...
Import Statement: | import QtQuick |
Properties
- dragThreshold : real
- touchPoints : list<TouchPoint>
Methods
- grab()
Detailed Description
The GestureEvent object has the current touch points, which you may choose to interpret as a gesture, and an invokable method to grab the involved points exclusively.
Property Documentation
[read-only] dragThreshold : real |
This property holds the system setting for the distance a finger must move before it is interpreted as a drag. It comes from QStyleHints::startDragDistance().
[read-only] touchPoints : list<TouchPoint> |
This property holds the set of current touch points.
Method Documentation
grab() |
Acquires an exclusive grab of the mouse and all the touchPoints, and calls setKeepTouchGrab() and setKeepMouseGrab() so that any parent Item that filters its children's events will not be allowed to take over the grabs.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.