Qt Quick Virtual Keyboard Components QML Types

您可以通过在 .qml 文件中使用以下导入语句,将 QML 类型导入到您的应用程序中:

import QtQuick.VirtualKeyboard.Components

BackspaceKey

键盘布局中的退格键

BaseKey

所有键类型的公共父类

ChangeLanguageKey

键盘布局中的“更改语言”键

EnterKey

键盘布局中的回车键

FillerKey

键盘布局中的填充键

FlickKey

键盘布局中的滑动键

HandwritingModeKey

键盘布局中的手写模式键

HideKeyboardKey

键盘布局的“隐藏键盘”键

InputModeKey

键盘布局的输入模式键

Key

键盘布局的常规字符键

KeyboardColumn

键盘布局的键盘列

KeyboardLayout

键盘布局

KeyboardLayoutLoader

允许动态加载键盘布局

KeyboardRow

键盘布局的键盘行

ModeKey

键盘布局的通用模式键

NumberKey

键盘布局专用数字键

ShiftKey

键盘布局的 Shift 键

SpaceKey

键盘布局的空格键

SymbolModeKey

键盘布局的符号模式键

TraceInputArea

用于收集触摸输入数据的专用 MultiPointTouchArea

TraceInputKey

用于收集触摸输入数据的专用按键

© 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.