[Qt-interest] QPanGesture why two points ?

Thiago Macieira thiago at kde.org
Sat Apr 2 14:54:01 CEST 2011


On Saturday, 2 de April de 2011 12:41:36 Wathek LOUED wrote:
> Hi everybody,
> 
> I need some information about the QPanGesture I've been looking at the code
> but I don't understand why in the TouchUpdate and TouchEnd it checks two
> touch points ev->touchPoints().at(0); and ev->touchPoints().at(1);
> 
> Here's the code :
> http://qt.gitorious.org/qt/qt/blobs/4.7/src/gui/kernel/qstandardgestures.cpp
> #line82

Why not?

It's a two-finger panning gesture.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110402/9f33e3a7/attachment.bin 


More information about the Qt-interest-old mailing list