Qt Virtual Keyboard QML 类型

可以把 QML 类型导入应用程序,使用以下 import 语句在 .qml 文件:

import QtQuick.VirtualKeyboard 2.15
import QtQuick.VirtualKeyboard.Styles 2.15
import QtQuick.VirtualKeyboard.Settings 2.15
					

除导入类型外, QT_IM_MODULE 环境变量必须被设为 qtvirtualkeyboard 。更多信息,见 加载插件 .

样式化:

KeyIcon

具有可调节颜色的键图标

KeyPanel

样式化键的基类型

KeyboardStyle

为虚拟键盘提供样式化接口

SelectionListItem

A base type for selection list item delegates

TraceCanvas

A specialized Canvas type for rendering Trace objects

TraceInputKeyPanel

跟踪输入键的基类型

设置:

VirtualKeyboardSettings

提供用于虚拟键盘的设置

输入框架和键:

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

EnterKeyAction

Provides attached properties for customizing the enter key

FillerKey

Filler key for keyboard layouts

HandwritingInputPanel

Provides a handwriting panel add-on for the virtual keyboard UI

HandwritingModeKey

Hand writing mode key for keyboard layouts

HideKeyboardKey

Hide keyboard key for keyboard layouts

InputContext

提供对输入上下文的访问

InputEngine

将用户输入映射到输入法

InputMethod

Base type for creating input method in QML

InputModeKey

Input mode key for keyboard layouts

InputPanel

Provides the virtual keyboard UI

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

SelectionListModel

Provides a data model for the selection lists

ShiftHandler

管理 Shift 状态

ShiftKey

Shift key for keyboard layouts

SpaceKey

Space key for keyboard layouts

SymbolModeKey

Symbol mode key for keyboard layouts

Trace

Data model for touch input data

TraceInputArea

A specialized MultiPointTouchArea for collecting touch input data

TraceInputKey

A specialized key for collecting touch input data