diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-05-06 23:09:52 +0200 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-12-09 23:16:36 +0100 |
| commit | 93bdedc1557fe9681a64b9be409bd92e702d54aa (patch) | |
| tree | c68a965422f92d64f191de4a6740a3e3b7266465 /src/qml/compiler/qqmlirbuilder.cpp | |
| parent | 6bfaea84d346ead1927e838ffb7cd10c3d84765f (diff) | |
Add WheelHandler.blocking property
Just as PointHandler is meant for providing passive feedback without
interfering with delivery, it should be possible to use WheelHandler
to notice the wheel rotation and let the event continue propagating
to other items and handlers. In that case, set the blocking property
to false, which tells it not to call QEventPoint::setAccepted().
[ChangeLog][QtQuick][WheelHandler] WheelHandler now has a property
called blocking, which is true by default; but if set to false, it
allows wheel events to propagate to items "under" this handler's
parent, and their WheelHandlers.
Change-Id: I44259709a3d8b2cbc1c6c11a88d669d847309924
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
