diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-10-16 13:09:12 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-10-18 13:51:43 +0000 |
commit | 074bd02890046ac54df740d2720f0b3103c707d6 (patch) | |
tree | ea7a946ff77d00cc4edd320e8f77971c4f67c924 /examples/quick/keyinteraction/keyinteraction.qml | |
parent | e1fcc604dcc06dfde387dae415e17fd09265ef4f (diff) |
Make the dimmer item known to the overlay
The dimmer item blocks all input to items underneath. Since the virtual
keyboard needs to work also during a modal session, we need to use a
containment mask on the dimmer item that lets clicks through.
In order to set that mask on the dimmer, we need to be able to find it
within the hierarchy of items. Since giving it a name doesn't help
(there is no QObject::findChild equivalent for child items), set it as a
dynamic property on the overlay, similar to how the overlay itself is
registered with the QQuickWindow.
Task-number: QTBUG-97075
Task-number: QTBUG-56918
Task-number: QTBUG-92881
Change-Id: I18a8de7acb4818f1a41a5be5e56e60617fe8ac7e
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 728cc261a0cd644760d217b9ea22dce9f00676c9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/quick/keyinteraction/keyinteraction.qml')
0 files changed, 0 insertions, 0 deletions