[Qt-interest] QGestureRecognizer and TouchBegin Events
Sean Hayes
sean.t.hayes at Vanderbilt.Edu
Wed Dec 1 16:23:31 CET 2010
On Mon, Nov 29, 2010 at 8:10 PM, Sean Hayes <sean.t.hayes at vanderbilt.edu> wrote:
> On Mon, Nov 29, 2010 at 2:18 PM, Thiago Macieira <thiago at kde.org> wrote:
>> Em Segunda-feira, 29 de Novembro de 2010, às 17:41:23, Sean Hayes escreveu:
>>> When a TouchBegin event is received by a widget that is registered to
>>> receive a gesture, the appropriate QGestureRecognizer receives
>>> QTouchEvents. If additional fingers are added or removed to the the
>>> surface, the QTouchEvent's touch points are updated accordingly. Also,
>>
>> Which platform is that? We've just fixed this issue for the XInput2 hack (used
>> in MeeGo 1.2).
>
> I am using Windows 7 on a Dell XT2.
Are you suggesting that this is a issue with Windows7 not passing
information about new touch point to the Qt application?
>>
>>> when the use drags his or her fingers off the widget the
>>> QGestureRecognizer continues to receive QTouchEvent. However, the
>>> QTouchEvent's touch-point count is only updated when a finger is
>>> removed from the surface (i.e., now new touch points are added)!
>>>
>>> I have a custom gesture that allows the user the change the number of
>>> fingers in the middle performing the gesture. If the user removes a
>>> finger, the gesture recognizer send the correct finger count, but I
>>> cannot figure out how to do the same thing when a user adds a finger
>>> while off the original widget. Does this sound like a Qt design
>>> oversight or bug? Any ideas on how to get this to work would be great.
>>
>> --
>> 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
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>
More information about the Qt-interest-old
mailing list