[Qt-interest] QGraphicsView with QGestureEvent

Elias Capito elias.capito at gmail.com
Thu Dec 3 17:31:24 CET 2009


Hello,

I want to do a multitouch application.

I have a problem with the QGestureEvent on a QGraphicsObject item . I use
"grabGesture" on my item in constructor and i debug to see the input event.

When I run the application, the QGestureEvent never appear, but if I use
QTouchEvent on item in place of QGestureEvent, with "setAcceptTouchEvent",
in my debug I can see the touch event.

If I use QGestureEvent with a simple QWidget and I run it, I can see the
gesture event, so i think it's correct.

It's the first time, that I use QGraphicsView, so I think i have miss
something.

Anyone have an idea, why the QGestureEvent not appear on my item ?

Elias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091203/490765e1/attachment.html 


More information about the Qt-interest-old mailing list