可以把 QML 类型导入应用程序,使用以下 import 语句在 .qml 文件:
import QtQuick.VirtualKeyboard import QtQuick.VirtualKeyboard.Settings
除导入类型外,
QT_IM_MODULE
环境变量必须被设为
qtvirtualkeyboard
。更多信息,见
加载插件
.
QML 类型
| Provides attached properties for customizing the enter key | |
| Provides a handwriting panel add-on for the virtual keyboard UI | |
| Provides the virtual keyboard UI | |
| Provides attached properties for customizing the virtual keyboard |
C++ types
| An application-defined dictionary for virtual keyboard input methods | |
| Dictionary management for application-defined dictionaries |
QML 类型
| 提供用于虚拟键盘的设置 |