[Qt-interest] Thoughts about QGestures

Denis Dzyubenko shadone at gmail.com
Thu May 20 10:24:53 CEST 2010


Hi,

On 19 May 2010 19:13, Guido Seifert <Wargand at gmx.de> wrote:
> You told me how to create my own gesture recognizer. Yes, I can do that.
> But this is far from an equivalent to a QPanGesture. You left out the
> interesting part. The pattern recognition in the list of points you
> can get from the mouse movement between the mouse press and mouse release. ;-)

Indeed. Here is the sample that shows a pan implemented through mouse events:
http://qt.gitorious.org/qt/qt/blobs/4.7/tests/manual/gestures/graphicsview/mousepangesturerecognizer.cpp

Ideally this should be part of Qt and come as a standard gesture, but
for now it was left out as needed a bit more polishing.

-- 
Best regards,
Denis.



More information about the Qt-interest-old mailing list