Hi Mateusz,

2009/12/1 Mateusz 'Matthew' Marek <[email protected]>:
> But, is it possible to use gestures on normal PC when I will
> reimplement recognize method in class QGestureRecognizer?

yeah, sure. You can subclass a QGestureRecognizer and filter any event
that goes to a QWidget or QGraphicsObject, including the mouse events.
Then when your recognizer reports the gesture, the appropriate
QGestureEvent will be sent to the target. Note that to have gesture
events sent to QGraphicsObject your gesture recognizer has to fill the
QGesture::hotSpot property (in global coordinates) - it is used to
detect the target graphics object that is supposed to receive the
gesture event.

-- 
Best regards,
Denis.
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to