[Qt-interest] Multi Gesture
Sean Hayes
sean.t.hayes at vanderbilt.edu
Sun Mar 20 15:53:07 CET 2011
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/f0d5a8e7/attachment.html
More information about the Qt-interest-old
mailing list