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.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.