diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-23 07:26:53 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-26 13:05:17 +0000 |
commit | 42d2d12e150ef92bfa08c3238fb8ddfb0e77fef1 (patch) | |
tree | 50466d28b257dcbfb7c33ed70d1d7508ab314df9 /tests/manual/pointer/pointer.pro | |
parent | d0922fcd0ac6707a46cbfd8422aeee5e36a49202 (diff) |
add QQuickEventPoint::sceneGrabPos property
Some handlers need to track total movement of the points from the time
that the gesture begins. So far it seems that will always be the same
as the moment that the handler decides to grab; so it's enough to
store a copy of the current position when the grab occurs.
Also change setGrabber to call either setItemGrabber
or setPointerHandlerGrabber so that we only need to add
new features like this one in two places instead of three.
Change-Id: Ia944bf27302fc305a21957e8b02174909c024a90
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'tests/manual/pointer/pointer.pro')
0 files changed, 0 insertions, 0 deletions