[maemo-developers] Gestures on n950 using QML

From: timur at sch.bme.hu timur at sch.bme.hu
Date: Fri Jul 29 09:27:52 EEST 2011
Hello Felipe,

The QML PinchArea element works just fine for me.
http://doc.qt.nokia.com/4.7-snapshot/qml-pincharea.html

There are two ways to use it:

- Set its pinch.target property which will make the target item to have automatic pinch-to-zoom effects (customizable)

- Listen to its onPinchStarted, onPinchUpdated, onPinchFinished signals and act accordingly. Note that in this case you will need to ensure that the PinchArea occupies the screen space you want it to occupy. (anchors can achieve this)

Cheers,
TImur


On Wed Jul 27 01:54:11 2011 Felipe Crochik wrote:

Has anybody figured out how to create a qml application that will process gestures (mainly Pinch)?
The 1.1 documentation suggests that you should use PinchArea but I haven't had any success with it.

Thanks in advance for any hints
Felipe


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20110729/12058a04/attachment.htm>
More information about the maemo-developers mailing list