diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-04-25 15:10:30 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-04-27 10:58:59 +0000 |
commit | 45cfee52e4dd488adc1050dd50fbe1dbecee9a4d (patch) | |
tree | 5b0f564c6387a10ab43a115e29643d5e8a9ca5af /tests/manual | |
parent | 09fe06675c6add8506462b114f31ab6e4d45c458 (diff) |
QQuickMultiPointerHandler::wantsPointerEvent ignores grabs on press
A PinchHandler for example has strict requirements, so when they are
finally met, it needs to be willing to take over the grab from
something else. This occurs when a point is pressed or released
(in which case a grabbing PointerHandler might probably give up its grab
anyway, if its requirements are not met anymore). MPTA can typically
handle a variable number of points though, so it will not give
up its grabs, and PinchHandler must be able to steal from it.
The first step in stealing is for the handler to say that it wants
the points despite any existing grabs.
Change-Id: Ic3a2586d43e4cfe1877f90ce2e2862a9abc4b81b
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions