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