qtdeclarative/tests/manual/pointer
Shawn Rutledge 07aaa7c1b6 Fix PinchHandler.persistentTranslation; test cumulative native gestures
Since we do not want persistentTranslation to be always the same as
target.position, clearly we cannot use xAxis/yAxis to store the initial
target position: thus the startPos() function was wrong, and is now
removed. We need to store it in a separate m_startTargetPos variable
like DragHandler does, and as PinchHandler did before
7867a683fc.

Add an internal doc comment to clarify the arguments to
QQuickItemPrivate::adjustedPosForTransform().

tst_QQuickPinchHandler::cumulativeNativeGestures() now checks the result
of adjustedPosForTransform(): how far the target item moved.

Pick-to: 6.5
Fixes: QTBUG-111220
Change-Id: I04237cb82a1abaaeab873a0d887acaf322f262ce
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2023-04-11 17:27:42 +02:00
..
content Get the photosurface manual test working again 2023-02-28 18:11:54 +01:00
resources Move most of the pointer manual tests to a new pointerhandlers example 2021-09-24 17:03:19 +02:00
flickablesWithHandlers.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
hoverpropagation.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
map2.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
photosurface.qml Get the photosurface manual test working again 2023-02-28 18:11:54 +01:00
pinchAndWheel.qml Fix PinchHandler.persistentTranslation; test cumulative native gestures 2023-04-11 17:27:42 +02:00
pinchDragFlingMPTA.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
pinchFlickable.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
pinchNullTarget.qml PinchHandler null target: remember accumulated scale between pinches 2022-11-17 10:56:25 +01:00
pointHandlerOnFlickable.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
pointerDrag.qml Pointer Handlers manual test: nested DragHandlers 2022-10-11 06:03:57 +02:00
rubberbandOnTable.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
tapWithModifiers.qml Use SPDX license identifiers 2022-06-11 08:05:15 +02:00