qt6-bb10/tests/auto/widgets/graphicsview
Friedemann Kleint ed3ed0b9db Fix touch point positions of non-transformable QGraphicsItems
TouchEvent::TouchPoint::pos was not updated in
QGraphicsScenePrivate::updateTouchPointsForItem().

To prevent the transformation being calculated repeatedly for each touch
point member, extract a function genericMapFromSceneTransform()
from genericMapFromScene() returning the transformation and use
that whereever multiple points are transformed.

Add a test, extracting helper functionality from
tst_QGraphicsItem::touchEventPropagation().
In addition, fold tst_QGraphicsScene::checkTouchPointsEllipseDiameters() from
c48f4bde00 into this test, so that
it is testing all transformations.

Task-number: QTBUG-66192
Change-Id: If71886d2c14c4e216f7781ea2f22f1adc444e6cf
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2018-02-20 13:54:34 +00:00
..
qgraphicsanchorlayout
qgraphicsanchorlayout1
qgraphicseffectsource
qgraphicsgridlayout Fix layout tests for GCC 5.2.x/5.3.x 2017-03-30 06:58:07 +00:00
qgraphicsitem Fix touch point positions of non-transformable QGraphicsItems 2018-02-20 13:54:34 +00:00
qgraphicsitemanimation
qgraphicslayout
qgraphicslayoutitem
qgraphicslinearlayout Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qgraphicsobject
qgraphicspixmapitem
qgraphicspolygonitem
qgraphicsproxywidget qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
qgraphicsscene Fix touch point positions of non-transformable QGraphicsItems 2018-02-20 13:54:34 +00:00
qgraphicssceneindex
qgraphicstransform
qgraphicsview Blacklist tst_QGraphicsView::update2 on openSUSE 42.3 2018-02-14 15:48:30 +00:00
qgraphicswidget qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
graphicsview.pro