diff options
author | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2022-11-10 22:42:52 +0200 |
---|---|---|
committer | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2022-11-10 22:42:52 +0200 |
commit | 5f66c9571303170f07954f73b09cad4cee1ce5d0 (patch) | |
tree | 4db1bfeffd318749c777ca1dafe230026b3e15d0 /src/virtualkeyboard/content/InputPanel.qml | |
parent | 8aebadb96c1e57ba89bba2e5962399f676207a32 (diff) | |
parent | 7eaab2d3cbcd557385e7656fae287328d6242b37 (diff) |
Merge remote-tracking branch 'origin/tqtc/lts-5.15.8' into tqtc/lts-5.15-opensourcev5.15.8-lts-lgpl
Change-Id: I4c76312644ac42e150597a7d56217fcfdb083880
Diffstat (limited to 'src/virtualkeyboard/content/InputPanel.qml')
-rw-r--r-- | src/virtualkeyboard/content/InputPanel.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/virtualkeyboard/content/InputPanel.qml b/src/virtualkeyboard/content/InputPanel.qml index 490811bf..dd14fca6 100644 --- a/src/virtualkeyboard/content/InputPanel.qml +++ b/src/virtualkeyboard/content/InputPanel.qml @@ -48,6 +48,17 @@ import QtQuick.VirtualKeyboard 2.1 the module, the \c QT_IM_MODULE environment variable must be set to \c qtvirtualkeyboard before using InputPanel. For more information, see \l {Loading the Plugin}. + + \note You can have only one InputPanel instance in your application. + + \section2 InputPanel and modal dialogs + + Qt prevents modal popups from blocking the keyboard UI, as this would make it + impossible to use the keyboard to write into a text field within a modal popup. + When an input field receives focus during a modal session, the InputPanel item is + made a sibling of the Overlay, and given a z-value one above the Overlay's so that + it stays on top of the user interface. When the modal session ends, the item is + reparented back to the original parent, and the z-value is restored. */ Item { |