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 /src/quick/handlers/handlers.pri | |
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 'src/quick/handlers/handlers.pri')
-rw-r--r-- | src/quick/handlers/handlers.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/handlers/handlers.pri b/src/quick/handlers/handlers.pri index 3d7e656071..f32f330d4e 100644 --- a/src/quick/handlers/handlers.pri +++ b/src/quick/handlers/handlers.pri @@ -3,6 +3,7 @@ HEADERS += \ $$PWD/qquickpointerhandler_p.h \ $$PWD/qquickpointerdevicehandler_p.h \ $$PWD/qquickmultipointerhandler_p.h \ + $$PWD/qquickpinchhandler_p.h \ $$PWD/qquickpointersinglehandler_p.h \ $$PWD/qquickhandlersmodule_p.h \ $$PWD/qquickpointerdevicehandler_p.h \ @@ -13,5 +14,6 @@ SOURCES += \ $$PWD/qquickpointerhandler.cpp \ $$PWD/qquickpointerdevicehandler.cpp \ $$PWD/qquickmultipointerhandler.cpp \ + $$PWD/qquickpinchhandler.cpp \ $$PWD/qquickpointersinglehandler.cpp \ $$PWD/qquickhandlersmodule.cpp \ |