The PinchArea item enables simple pinch gesture handling. More...
Inherits Item
The PinchArea element was added in QtQuick 1.1
A PinchArea is an invisible item that is typically used in conjunction with a visible item in order to provide pinch gesture handling for that item.
The enabled property is used to enable and disable pinch handling for the proxied item. When disabled, the pinch area becomes transparent to mouse/touch events.
PinchArea can be used in two ways:
See also PinchEvent.
enabled : bool |
This property holds whether the item accepts pinch gestures.
This property defaults to true.
pinch.target : Item |
pinch.active : bool |
pinch.minimumScale : real |
pinch.maximumScale : real |
pinch.minimumRotation : real |
pinch.maximumRotation : real |
pinch.dragAxis : enumeration |
pinch.minimumX : real |
pinch.maximumX : real |
pinch.minimumY : real |
pinch.maximumY : real |
pinch provides a convenient way to make an item react to pinch gestures.
This handler is called when the pinch area detects that a pinch gesture has finished.
The pinch parameter provides information about the pinch gesture, including the scale, center and angle of the pinch.
This handler is called when the pinch area detects that a pinch gesture has started.
The pinch parameter provides information about the pinch gesture, including the scale, center and angle of the pinch.
To ignore this gesture set the pinch.accepted property to false. The gesture will be cancelled and no further events will be sent.
This handler is called when the pinch area detects that a pinch gesture has changed.
The pinch parameter provides information about the pinch gesture, including the scale, center and angle of the pinch.