qt5base-lts/tests/auto/widgets
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
..
dialogs Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
effects Set sharedPainter correctly for QGraphicsEffect 2017-12-12 20:21:07 +00:00
graphicsview Fix touch point positions of non-transformable QGraphicsItems 2018-02-20 13:54:34 +00:00
itemviews Make sure the parent view will have focus when activation is given back 2018-02-15 07:45:26 +00:00
kernel Merge "Merge remote-tracking branch 'origin/5.9' into 5.11" into refs/staging/5.11 2018-02-14 15:49:08 +00:00
styles Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
util Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
widgets QLineEdit: Clear input context commit string after test functions 2018-02-19 14:24:09 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00