qt5base-lts/tests/auto/widgets/graphicsview/qgraphicsscene
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
..
testData/render
.gitignore
Ash_European.jpg
BLACKLIST Blacklist tst_QGraphicsScene::isActive in openSUSE 42.3 2017-09-20 09:48:36 +00:00
graphicsScene_selection.data
images.qrc
qgraphicsscene.pro QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
testdata.qrc Android: Fix some QGraphicsScene tests 2016-01-20 07:48:34 +00:00
tst_qgraphicsscene.cpp Fix touch point positions of non-transformable QGraphicsItems 2018-02-20 13:54:34 +00:00