The PinchEvent object provides information about a pinch event. More...
The PinchEvent element was added in QtQuick 1.1
The center, startCenter, previousCenter properties provide the center position between the two touch points.
The scale and previousScale properties provide the scale factor.
The angle, previousAngle and rotation properties provide the angle between the two points and the amount of rotation.
The point1, point2, startPoint1, startPoint2 properties provide the positions of the touch points.
The accepted property may be set to false in the onPinchStarted handler if the gesture should not be handled.
See also PinchArea.
accepted : bool |
Setting this property to false in the PinchArea::onPinchStarted handler will result in no further pinch events being generated, and the gesture ignored.
These properties hold the angle between the two touch points.
When a pinch gesture is started, the rotation is 0.0.
These properties hold the position of the center point between the two touch points.
read-onlypoint1 : QPointF |
read-onlystartPoint1 : QPointF |
read-onlypoint2 : QPointF |
read-onlystartPoint2 : QPointF |
These properties provide the actual touch points generating the pinch.
read-onlypointCount : int |
Holds the number of points currently touched. The PinchArea will not react until two touch points have initited a gesture, but will remain active until all touch points have been released.
These properties hold the scale factor determined by the change in distance between the two touch points.
When a pinch gesture is started, the scale is 1.0.
© 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.