VirtualKeyboard QML Type
提供用于自定义虚拟键盘的附加属性。更多内容...
| Import Statement: | import QtQuick.VirtualKeyboard |
| Since: | Qt 6.1 |
附加属性
- extraDictionaries : list
详细说明
VirtualKeyboard 类型提供了附加属性,可用于自定义虚拟键盘,例如附加自定义词典。
VirtualKeyboard 必须直接在接收输入焦点的控件内部使用,例如:TextInput 。
例如:
TextInput {
VirtualKeyboard.extraDictionaries: ["myDictionary"]
}附加属性文档
VirtualKeyboard.extraDictionaries : list [attached]
在此上下文中设置活动用户词典。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.