MultiPointHandler QML Type
Abstract handler for multi-point Pointer Events. More...
Properties
- centroid : QtQuick::handlerPoint
- maximumPointCount : int
- minimumPointCount : int
Detailed Description
\since
5.10 \preliminary
\inherits
PointerDeviceHandler \inqmlmodule
QtQuick
An intermediate class (not registered as a QML type) for any type of handler which requires and acts upon a specific number of multiple touchpoints.
Property Documentation
[read-only] centroid : QtQuick::handlerPoint |
\readonly
A point exactly in the middle of the currently-pressed touch points. If only one point is pressed, it's the same as that point. A handler that has a target will normally transform it relative to this point.
maximumPointCount : int |
The maximum number of touchpoints this handler can utilize.
If a larger number of touchpoints are in contact with the parent, the required number of points will be chosen in the order that they are pressed, and the remaining points will be ignored.
Any ignored points are eligible to activate other Input Handlers that have different constraints, on the same Item or on other Items.
The default value is the same as minimumPointCount.
minimumPointCount : int |
The minimum number of touchpoints required to activate this handler.
If a smaller number of touchpoints are in contact with the parent, they will be ignored.
Any ignored points are eligible to activate other Input Handlers that have different constraints, on the same Item or on other Items.
The default value is 2.