可以使用以下 import 语句在 .qml 文件中把 QML 类型导入应用程序:
import QtQuick.VirtualKeyboard.Components
BackspaceKey | Backspace key for keyboard layouts |
BaseKey | Common parent for all key types |
ChangeLanguageKey | Change language key for keyboard layouts |
EnterKey | Enter key for keyboard layouts |
FillerKey | Filler key for keyboard layouts |
FlickKey | Flick key for keyboard layouts |
HandwritingModeKey | Hand writing mode key for keyboard layouts |
HideKeyboardKey | Hide keyboard key for keyboard layouts |
InputModeKey | Input mode key for keyboard layouts |
Key | Regular character key for keyboard layouts |
KeyboardColumn | Keyboard column for keyboard layouts |
KeyboardLayout | 键盘布局 |
KeyboardLayoutLoader | Allows dynamic loading of keyboard layout |
KeyboardRow | Keyboard row for keyboard layouts |
ModeKey | Generic mode key for keyboard layouts |
NumberKey | Specialized number key for keyboard layouts |
ShiftKey | Shift key for keyboard layouts |
SpaceKey | Space key for keyboard layouts |
SymbolModeKey | Symbol mode key for keyboard layouts |
TraceInputArea | A specialized MultiPointTouchArea for collecting touch input data |
TraceInputKey | A specialized key for collecting touch input data |