[Qt-interest] Multi Gesture

Wathek LOUED wathek at gmail.com
Sun Mar 20 17:44:22 CET 2011


I see I got an other question. I'd like to know when the QGestureRecognizer
changes the QGesture::state to QGestureRecognizer::CancelGesture or
QGestureRecognizer::FinishGesture is the QGesture killed ?

On Sun, Mar 20, 2011 at 3:53 PM, Sean Hayes <sean.t.hayes at vanderbilt.edu>wrote:

> Wathek,
>
> You could probably do  this by created you own gesture classes that
> subclass QGesture. The key would be how you recognize the gestures in your
> gesture recognizer. For example, you could monitor all the touch points
> received and see any one of them match your gestures (as opposed to only
> checking the first point or two). If you are use some gestures that utilize
> more than one touch point, you could test if any combinational of two points
> matches your gesture.
>
> Sean
>
> On Sun, Mar 20, 2011 at 7:38 AM, Wathek LOUED <wathek at gmail.com> wrote:
>
>> Hi all,
>>
>> I was thinking how can I do to get a multi gesture ? let's say a finger to
>> do a Tap And Hold Gesture and another finger where the user does a Pan
>> Gesture. Using the QGesture of Qt it won't work. Any idea how can I do so
>> that it'll be possible ?
>>
>> Thank you
>>
>> Sincerely
>> Wathek
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at qt.nokia.com
>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110320/140724c0/attachment.html 


More information about the Qt-interest-old mailing list