qt5base-lts/tests/auto/widgets/graphicsview/qgraphicsproxywidget
Rafael Roquetto f5b682d320 QGraphicsProxyWidget: forward touch events to QWidget
When working with QGraphicsView/QGraphicsScene, touch events are sent to
QGraphicsView's viewport() event handler, which then dispatches it to the
corresponding QGraphicsItem, if any. In the case of QGraphicsProxyWidget, we
need to forward these touch events to the encapsulated QWidget, otherwise it
will never receive them (i.e. the event chain for touch events terminates at
QGraphicsProxyWidget).

This also enables QWidgets associated with QGraphicsProxyWidget to grab
gestures.

Task-id: QTBUG-45737
Change-Id: Ia441d3576afb6c97376be6f2ff073901e6e928a5
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
2015-09-22 20:54:44 +00:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST Tests: Blacklist tests for ubuntu 14.04 2015-04-01 13:59:04 +00:00
qgraphicsproxywidget.pro Fix autotest on xcb and make it significant again 2015-05-23 11:38:18 +00:00
tst_qgraphicsproxywidget.cpp QGraphicsProxyWidget: forward touch events to QWidget 2015-09-22 20:54:44 +00:00