Qt Virtual Keyboard 应用程序的 API
可在 .qml 文件中使用以下导入语句将 QML 类型导入应用程序:
import QtQuick.VirtualKeyboard import QtQuick.VirtualKeyboard.Settings
除了导入类型外,还必须将QT_IM_MODULE
环境变量设置为qtvirtualkeyboard
。更多信息,请参阅加载插件。
Virtual Keyboard
QML 类型
提供用于自定义回车键的附加属性 | |
为虚拟键盘用户界面提供手写面板插件 | |
提供虚拟键盘用户界面 | |
提供用于自定义虚拟键盘的附加属性 |
C++ 类型
虚拟键盘输入法的应用程序定义字典 | |
应用程序定义字典的字典管理 |
Virtual Keyboard Settings
QML 类型
为虚拟键盘提供设置 |
© 2025 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.