diff options
author | Shawn Rutledge <shawn.rutledge@theqtcompany.com> | 2015-08-11 18:14:02 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-09-01 20:15:23 +0000 |
commit | 678d3de4b53f22ead68a0874df2892137ad3b7f7 (patch) | |
tree | 3668f51e1f0c9490433e1084b96693958731931d /tests/manual/pointer/qml.qrc | |
parent | 149911b0f45fbe1d1a4766a0bb0c9b7c3b54366d (diff) |
Introduce PinchHandler
Similar to PinchArea but with improvements:
- Allows rotating and scaling about an arbitrary point rather than the center
- It's possible to require more than 2 fingers. E.g. maybe you use
3 fingers to manage a window, 2 fingers to manipulate content inside.
This could be achieved with two independent PinchHandlers.
Change-Id: Ifd40cfee115d7bc298378b26a58318bea40a8230
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'tests/manual/pointer/qml.qrc')
-rw-r--r-- | tests/manual/pointer/qml.qrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/pointer/qml.qrc b/tests/manual/pointer/qml.qrc index b802a73f08..dac6b08b12 100644 --- a/tests/manual/pointer/qml.qrc +++ b/tests/manual/pointer/qml.qrc @@ -2,8 +2,8 @@ <qresource prefix="/"> <file>main.qml</file> <file>joystick.qml</file> - <file>main.qml</file> <file>mixer.qml</file> + <file>pinchHandler.qml</file> <file>content/Slider.qml</file> <file>resources/mixer-knob.png</file> <file>resources/redball.png</file> |