qt5base-lts/tests/auto/widgets/graphicsview
Volker Hilsheimer 1ecf2212fa Forward touchEvents to children inside QGraphicsProxyWidget
Just sending the event to the embedded widget is not enough, we
have to perform hit-testing for the different touch points, and
send the event to the child widget under the point. Fortunately,
QApplicationPrivate::translateRawTouchEvent provides the logic
that generates multiple events for groups of touch points.

Since that helper always sent events spontaneously, add an
optional parameter to allow sending of non-spontaneous events.

Add a test case that simulates touch events to different widget
configurations inside a QGraphicsProxyWidget.

Fixes: QTBUG-67819
Task-number: QTBUG-45737
Pick-to: 6.2 6.1 5.15
Change-Id: Iffd5c84c64ee2ceadc7e31863675fdf227582c81
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2021-08-26 09:36:20 +02:00
..
qgraphicsanchorlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsanchorlayout1 Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicseffectsource Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsgridlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsitem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsitemanimation Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicslayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicslayoutitem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicslinearlayout Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsobject Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicspixmapitem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicspolygonitem Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsproxywidget Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsscene tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
qgraphicssceneindex Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicstransform Remove the qmake project files 2021-01-07 15:32:28 +01:00
qgraphicsview Forward touchEvents to children inside QGraphicsProxyWidget 2021-08-26 09:36:20 +02:00
qgraphicswidget Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Android: exclude tests crashing at start 2020-11-16 13:35:44 +02:00