aboutsummaryrefslogtreecommitdiffstats
path: root/src/import
diff options
context:
space:
mode:
Diffstat (limited to 'src/import')
-rw-r--r--src/import/dependencies.json22
-rw-r--r--src/import/import.pro34
-rw-r--r--src/import/plugins.qmltypes2031
-rw-r--r--src/import/qmldir10
-rw-r--r--src/import/qtquickvirtualkeyboardplugin.cpp152
-rw-r--r--src/import/qtquickvirtualkeyboardplugin.h50
6 files changed, 2299 insertions, 0 deletions
diff --git a/src/import/dependencies.json b/src/import/dependencies.json
new file mode 100644
index 00000000..f5bc2b31
--- /dev/null
+++ b/src/import/dependencies.json
@@ -0,0 +1,22 @@
+[
+ {
+ "name": "QtQuick",
+ "type": "module",
+ "version": "2.0"
+ },
+ {
+ "name": "QtQuick.Window",
+ "type": "module",
+ "version": "2.2"
+ },
+ {
+ "name": "QtQuick.Layouts",
+ "type": "module",
+ "version": "1.0"
+ },
+ {
+ "name": "Qt.labs.folderlistmodel",
+ "type": "module",
+ "version": "2.1"
+ }
+]
diff --git a/src/import/import.pro b/src/import/import.pro
new file mode 100644
index 00000000..c1045ffc
--- /dev/null
+++ b/src/import/import.pro
@@ -0,0 +1,34 @@
+TARGET = qtquickvirtualkeyboardplugin
+TARGETPATH = QtQuick/VirtualKeyboard
+IMPORT_VERSION = 2.4
+QT += qml quick virtualkeyboard-private
+
+CONFIG += no_cxx_module
+
+SOURCES += \
+ qtquickvirtualkeyboardplugin.cpp
+
+HEADERS += \
+ qtquickvirtualkeyboardplugin.h
+
+OTHER_FILES += \
+ dependencies.json \
+ plugins.qmltypes \
+ qmldir
+
+win32 {
+ QMAKE_TARGET_PRODUCT = "Qt Virtual Keyboard (Qt $$QT_VERSION)"
+ QMAKE_TARGET_DESCRIPTION = "Virtual Keyboard for Qt."
+}
+
+load(qml_plugin)
+
+# qmltypes target override (requires QT_IM_MODULE=qtvirtualkeyboard, -defaultplatform and
+# $$PWD/dependencies.json)
+!cross_compile:if(build_pass|!debug_and_release) {
+ qtPrepareTool(QMLPLUGINDUMP, qmlplugindump)
+ # Note for win32 you need to set QT_IM_MODULE=qtvirtualkeyboard environment variable manually
+ !win32: QMPPLUGINDUMP_ENV = "QT_IM_MODULE=qtvirtualkeyboard"
+ qmltypes.commands = $$QMPPLUGINDUMP_ENV $$QMLPLUGINDUMP -defaultplatform -nonrelocatable -dependencies $$PWD/dependencies.json QtQuick.VirtualKeyboard $$IMPORT_VERSION > $$PWD/plugins.qmltypes
+ QMAKE_EXTRA_TARGETS += qmltypes
+}
diff --git a/src/import/plugins.qmltypes b/src/import/plugins.qmltypes
new file mode 100644
index 00000000..8e6c3c02
--- /dev/null
+++ b/src/import/plugins.qmltypes
@@ -0,0 +1,2031 @@
+import QtQuick.tooling 1.2
+
+// This file describes the plugin-supplied types contained in the library.
+// It is used for QML tooling purposes only.
+//
+// This file was auto-generated by:
+// 'qmlplugindump -defaultplatform -nonrelocatable -dependencies dependencies.json QtQuick.VirtualKeyboard 2.4'
+
+Module {
+ dependencies: [
+ "Qt.labs.folderlistmodel 2.1",
+ "QtQuick 2.0",
+ "QtQuick.Layouts 1.0",
+ "QtQuick.Window 2.2"
+ ]
+ Component {
+ name: "QVirtualKeyboardInputContext"
+ prototype: "QObject"
+ exports: [
+ "QtQuick.VirtualKeyboard/InputContext 1.0",
+ "QtQuick.VirtualKeyboard/InputContext 2.0",
+ "QtQuick.VirtualKeyboard/InputContext 2.4"
+ ]
+ isCreatable: false
+ isSingleton: true
+ exportMetaObjectRevisions: [0, 0, 0]
+ Property { name: "shift"; type: "bool"; isReadonly: true }
+ Property { name: "shiftActive"; revision: 4; type: "bool"; isReadonly: true }
+ Property { name: "capsLock"; type: "bool"; isReadonly: true }
+ Property { name: "capsLockActive"; revision: 4; type: "bool"; isReadonly: true }
+ Property { name: "uppercase"; type: "bool"; isReadonly: true }
+ Property { name: "anchorPosition"; type: "int"; isReadonly: true }
+ Property { name: "cursorPosition"; type: "int"; isReadonly: true }
+ Property { name: "inputMethodHints"; type: "Qt::InputMethodHints"; isReadonly: true }
+ Property { name: "preeditText"; type: "string" }
+ Property { name: "surroundingText"; type: "string"; isReadonly: true }
+ Property { name: "selectedText"; type: "string"; isReadonly: true }
+ Property { name: "anchorRectangle"; type: "QRectF"; isReadonly: true }
+ Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true }
+ Property { name: "animating"; type: "bool" }
+ Property { name: "locale"; type: "string"; isReadonly: true }
+ Property {
+ name: "inputEngine"
+ type: "QVirtualKeyboardInputEngine"
+ isReadonly: true
+ isPointer: true
+ }
+ Property { name: "selectionControlVisible"; type: "bool"; isReadonly: true }
+ Property { name: "anchorRectIntersectsClipRect"; type: "bool"; isReadonly: true }
+ Property { name: "cursorRectIntersectsClipRect"; type: "bool"; isReadonly: true }
+ Property {
+ name: "priv"
+ type: "QVirtualKeyboardInputContextPrivate"
+ isReadonly: true
+ isPointer: true
+ }
+ Method {
+ name: "sendKeyClick"
+ Parameter { name: "key"; type: "int" }
+ Parameter { name: "text"; type: "string" }
+ Parameter { name: "modifiers"; type: "int" }
+ }
+ Method {
+ name: "sendKeyClick"
+ Parameter { name: "key"; type: "int" }
+ Parameter { name: "text"; type: "string" }
+ }
+ Method { name: "commit" }
+ Method {
+ name: "commit"
+ Parameter { name: "text"; type: "string" }
+ Parameter { name: "replaceFrom"; type: "int" }
+ Parameter { name: "replaceLength"; type: "int" }
+ }
+ Method {
+ name: "commit"
+ Parameter { name: "text"; type: "string" }
+ Parameter { name: "replaceFrom"; type: "int" }
+ }
+ Method {
+ name: "commit"
+ Parameter { name: "text"; type: "string" }
+ }
+ Method { name: "clear" }
+ Method {
+ name: "setSelectionOnFocusObject"
+ Parameter { name: "anchorPos"; type: "QPointF" }
+ Parameter { name: "cursorPos"; type: "QPointF" }
+ }
+ }
+ Component {
+ name: "QVirtualKeyboardInputContextPrivate"
+ prototype: "QObject"
+ exports: ["QtQuick.VirtualKeyboard/InputContextPrivate 1.0"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Enum {
+ name: "State"
+ values: {
+ "Reselect": 1,
+ "InputMethodEvent": 2,
+ "KeyEvent": 4,
+ "InputMethodClick": 8,
+ "SyncShadowInput": 16
+ }
+ }
+ Property { name: "focus"; type: "bool" }
+ Property { name: "keyboardRectangle"; type: "QRectF" }
+ Property { name: "previewRectangle"; type: "QRectF" }
+ Property { name: "previewVisible"; type: "bool" }
+ Property { name: "locale"; type: "string" }
+ Property { name: "inputItem"; type: "QObject"; isReadonly: true; isPointer: true }
+ Property {
+ name: "shiftHandler"
+ type: "QtVirtualKeyboard::ShiftHandler"
+ isReadonly: true
+ isPointer: true
+ }
+ Property {
+ name: "shadow"
+ type: "QtVirtualKeyboard::ShadowInputContext"
+ isReadonly: true
+ isPointer: true
+ }
+ Property { name: "inputMethods"; type: "QStringList"; isReadonly: true }
+ Signal {
+ name: "navigationKeyPressed"
+ Parameter { name: "key"; type: "int" }
+ Parameter { name: "isAutoRepeat"; type: "bool" }
+ }
+ Signal {
+ name: "navigationKeyReleased"
+ Parameter { name: "key"; type: "int" }
+ Parameter { name: "isAutoRepeat"; type: "bool" }
+ }
+ Method { name: "hideInputPanel" }
+ Method {
+ name: "updateAvailableLocales"
+ Parameter { name: "availableLocales"; type: "QStringList" }
+ }
+ Method {
+ name: "forceCursorPosition"
+ Parameter { name: "anchorPosition"; type: "int" }
+ Parameter { name: "cursorPosition"; type: "int" }
+ }
+ Method {
+ name: "fileExists"
+ type: "bool"
+ Parameter { name: "fileUrl"; type: "QUrl" }
+ }
+ Method {
+ name: "hasEnterKeyAction"
+ type: "bool"
+ Parameter { name: "item"; type: "QObject"; isPointer: true }
+ }
+ }
+ Component {
+ name: "QVirtualKeyboardInputEngine"
+ prototype: "QObject"
+ exports: [
+ "QtQuick.VirtualKeyboard/InputEngine 1.0",
+ "QtQuick.VirtualKeyboard/InputEngine 2.0"
+ ]
+ isCreatable: false
+ exportMetaObjectRevisions: [0, 0]
+ Enum {
+ name: "TextCase"
+ values: {
+ "Lower": 0,
+ "Upper": 1
+ }
+ }
+ Enum {
+ name: "InputMode"
+ values: {
+ "Latin": 0,
+ "Numeric": 1,
+ "Dialable": 2,
+ "Pinyin": 3,
+ "Cangjie": 4,
+ "Zhuyin": 5,
+ "Hangul": 6,
+ "Hiragana": 7,
+ "Katakana": 8,
+ "FullwidthLatin": 9,
+ "Greek": 10,
+ "Cyrillic": 11,
+ "Arabic": 12,
+ "Hebrew": 13,
+ "ChineseHandwriting": 14,
+ "JapaneseHandwriting": 15,
+ "KoreanHandwriting": 16
+ }
+ }
+ Enum {
+ name: "PatternRecognitionMode"
+ values: {
+ "None": 0,
+ "PatternRecognitionDisabled": 0,
+ "Handwriting": 1,
+ "HandwritingRecoginition": 1
+ }
+ }
+ Enum {
+ name: "ReselectFlag"
+ values: {
+ "WordBeforeCursor": 1,
+ "WordAfterCursor": 2,
+ "WordAtCursor": 3
+ }
+ }
+ Property { name: "activeKey"; type: "Qt::Key"; isReadonly: true }
+ Property { name: "previousKey"; type: "Qt::Key"; isReadonly: true }
+ Property { name: "inputMethod"; type: "QVirtualKeyboardAbstractInputMethod"; isPointer: true }
+ Property { name: "inputModes"; type: "QList<int>"; isReadonly: true }
+ Property { name: "inputMode"; type: "InputMode" }
+ Property { name: "patternRecognitionModes"; type: "QList<int>"; isReadonly: true }
+ Property {
+ name: "wordCandidateListModel"
+ type: "QVirtualKeyboardSelectionListModel"
+ isReadonly: true
+ isPointer: true
+ }
+ Property { name: "wordCandidateListVisibleHint"; type: "bool"; isReadonly: true }
+ Signal {
+ name: "virtualKeyClicked"
+ Parameter { name: "key"; type: "Qt::Key" }
+ Parameter { name: "text"; type: "string" }
+ Parameter { name: "modifiers"; type: "Qt::KeyboardModifiers" }
+ Parameter { name: "isAutoRepeat"; type: "bool" }
+ }
+ Signal {
+ name: "activeKeyChanged"
+ Parameter { name: "key"; type: "Qt::Key" }
+ }
+ Signal {
+ name: "previousKeyChanged"
+ Parameter { name: "key"; type: "Qt::Key" }
+ }
+ Signal { name: "inputMethodReset" }
+ Signal { name: "inputMethodUpdate" }
+ Method {
+ name: "virtualKeyPress"
+ type: "bool"
+ Parameter { name: "key"; type: "Qt::Key" }
+ Parameter { name: "text"; type: "string" }
+ Parameter { name: "modifiers"; type: "Qt::KeyboardModifiers" }
+ Parameter { name: "repeat"; type: "bool" }
+ }
+ Method { name: "virtualKeyCancel" }
+ Method {
+ name: "virtualKeyRelease"
+ type: "bool"
+ Parameter { name: "key"; type: "Qt::Key" }
+ Parameter { name: "text"; type: "string" }
+ Parameter { name: "modifiers"; type: "Qt::KeyboardModifiers" }
+ }
+ Method {
+ name: "virtualKeyClick"
+ type: "bool"
+ Parameter { name: "key"; type: "Qt::Key" }
+ Parameter { name: "text"; type: "string" }
+ Parameter { name: "modifiers"; type: "Qt::KeyboardModifiers" }
+ }
+ Method {
+ name: "traceBegin"
+ type: "QVirtualKeyboardTrace*"
+ Parameter { name: "traceId"; type: "int" }
+ Parameter { name: "patternRecognitionMode"; type: "PatternRecognitionMode" }
+ Parameter { name: "traceCaptureDeviceInfo"; type: "QVariantMap" }
+ Parameter { name: "traceScreenInfo"; type: "QVariantMap" }
+ }
+ Method {
+ name: "traceEnd"
+ type: "bool"
+ Parameter { name: "trace"; type: "QVirtualKeyboardTrace"; isPointer: true }
+ }
+ Method {
+ name: "reselect"
+ type: "bool"
+ Parameter { name: "cursorPosition"; type: "int" }
+ Parameter { name: "reselectFlags"; type: "ReselectFlags" }
+ }
+ }
+ Component {
+ name: "QVirtualKeyboardSelectionListModel"
+ prototype: "QAbstractListModel"
+ exports: [
+ "QtQuick.VirtualKeyboard/SelectionListModel 1.0",
+ "QtQuick.VirtualKeyboard/SelectionListModel 2.0"
+ ]
+ isCreatable: false
+ exportMetaObjectRevisions: [0, 0]
+ Enum {
+ name: "Type"
+ values: {
+ "WordCandidateList": 0
+ }
+ }
+ Enum {
+ name: "Role"
+ values: {
+ "Display": 0,
+ "DisplayRole": 0,
+ "WordCompletionLength": 257,
+ "WordCompletionLengthRole": 257,
+ "Dictionary": 258,
+ "CanRemoveSuggestion": 259
+ }
+ }
+ Enum {
+ name: "DictionaryType"
+ values: {
+ "Default": 0,
+ "User": 1
+ }
+ }
+ Property { name: "count"; type: "int"; isReadonly: true }
+ Signal {
+ name: "activeItemChanged"
+ Parameter { name: "index"; type: "int" }
+ }
+ Signal {
+ name: "itemSelected"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method {
+ name: "selectItem"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method {
+ name: "removeItem"
+ Parameter { name: "index"; type: "int" }
+ }
+ Method {
+ name: "dataAt"
+ type: "QVariant"
+ Parameter { name: "index"; type: "int" }
+ Parameter { name: "role"; type: "Role" }
+ }
+ Method {
+ name: "dataAt"
+ type: "QVariant"
+ Parameter { name: "index"; type: "int" }
+ }
+ }
+ Component {
+ name: "QVirtualKeyboardTrace"
+ prototype: "QObject"
+ exports: [
+ "QtQuick.VirtualKeyboard/Trace 2.0",
+ "QtQuick.VirtualKeyboard/Trace 2.4"
+ ]
+ exportMetaObjectRevisions: [0, 0]
+ Property { name: "traceId"; type: "int" }
+ Property { name: "channels"; type: "QStringList" }
+ Property { name: "length"; type: "int"; isReadonly: true }
+ Property { name: "final"; type: "bool" }
+ Property { name: "canceled"; type: "bool" }
+ Property { name: "opacity"; type: "double" }
+ Signal {
+ name: "traceIdChanged"
+ Parameter { name: "traceId"; type: "int" }
+ }
+ Signal {
+ name: "lengthChanged"
+ Parameter { name: "length"; type: "int" }
+ }
+ Signal {
+ name: "finalChanged"
+ Parameter { name: "isFinal"; type: "bool" }
+ }
+ Signal {
+ name: "canceledChanged"
+ Parameter { name: "isCanceled"; type: "bool" }
+ }
+ Signal {
+ name: "opacityChanged"
+ Parameter { name: "opacity"; type: "double" }
+ }
+ Method {
+ name: "points"
+ type: "QVariantList"
+ Parameter { name: "pos"; type: "int" }
+ Parameter { name: "count"; type: "int" }
+ }
+ Method {
+ name: "points"
+ type: "QVariantList"
+ Parameter { name: "pos"; type: "int" }
+ }
+ Method { name: "points"; type: "QVariantList" }
+ Method {
+ name: "addPoint"
+ type: "int"
+ Parameter { name: "point"; type: "QPointF" }
+ }
+ Method {
+ name: "setChannelData"
+ Parameter { name: "channel"; type: "string" }
+ Parameter { name: "index"; type: "int" }
+ Parameter { name: "data"; type: "QVariant" }
+ }
+ Method {
+ name: "channelData"
+ type: "QVariantList"
+ Parameter { name: "channel"; type: "string" }
+ Parameter { name: "pos"; type: "int" }
+ Parameter { name: "count"; type: "int" }
+ }
+ Method {
+ name: "channelData"
+ type: "QVariantList"
+ Parameter { name: "channel"; type: "string" }
+ Parameter { name: "pos"; type: "int" }
+ }
+ Method {
+ name: "channelData"
+ type: "QVariantList"
+ Parameter { name: "channel"; type: "string" }
+ }
+ }
+ Component {
+ name: "QtVirtualKeyboard::EnterKeyAction"
+ prototype: "QObject"
+ exports: [
+ "QtQuick.VirtualKeyboard/EnterKeyAction 1.0",
+ "QtQuick.VirtualKeyboard/EnterKeyAction 2.0"
+ ]
+ exportMetaObjectRevisions: [0, 0]
+ attachedType: "QtVirtualKeyboard::EnterKeyActionAttachedType"
+ Enum {
+ name: "Id"
+ values: {
+ "None": 0,
+ "Go": 1,
+ "Search": 2,
+ "Send": 3,
+ "Next": 4,
+ "Done": 5
+ }
+ }
+ }
+ Component {
+ name: "QtVirtualKeyboard::EnterKeyActionAttachedType"
+ prototype: "QObject"
+ Property { name: "actionId"; type: "int" }
+ Property { name: "label"; type: "string" }
+ Property { name: "enabled"; type: "bool" }
+ }
+ Component {
+ name: "QtVirtualKeyboard::InputMethod"
+ prototype: "QVirtualKeyboardAbstractInputMethod"
+ exports: [
+ "QtQuick.VirtualKeyboard/InputMethod 1.0",
+ "QtQuick.VirtualKeyboard/InputMethod 2.0"
+ ]
+ exportMetaObjectRevisions: [0, 0]
+ Property {
+ name: "inputContext"
+ type: "QVirtualKeyboardInputContext"
+ isReadonly: true
+ isPointer: true
+ }
+ Property {
+ name: "inputEngine"
+ type: "QVirtualKeyboardInputEngine"
+ isReadonly: true
+ isPointer: true
+ }
+ }
+ Component {
+ name: "QtVirtualKeyboard::ShadowInputContext"
+ prototype: "QObject"
+ exports: ["QtQuick.VirtualKeyboard/ShadowInputContext 2.2"]
+ isCreatable: false
+ exportMetaObjectRevisions: [0]
+ Property { name: "inputItem"; type: "QObject"; isPointer: true }
+ Property { name: "anchorRectangle"; type: "QRectF"; isReadonly: true }
+ Property { name: "cursorRectangle"; type: "QRectF"; isReadonly: true }
+ Property { name: "anchorRectIntersectsClipRect"; type: "bool"; isReadonly: true }
+ Property { name: "cursorRectIntersectsClipRect"; type: "bool"; isReadonly: true }
+ Property { name: "selectionControlVisible"; type: "bool"; isReadonly: true }
+ Method {
+ name: "setSelectionOnFocusObject"
+ Parameter { name: "anchorPos"; type: "QPointF" }
+ Parameter { name: "cursorPos"; type: "QPointF" }
+ }
+ Method { name: "updateSelectionProperties" }
+ }
+ Component {
+ name: "QtVirtualKeyboard::ShiftHandler"
+ prototype: "QObject"
+ exports: [
+ "QtQuick.VirtualKeyboard/ShiftHandler 1.0",
+ "QtQuick.VirtualKeyboard/ShiftHandler 2.0"
+ ]
+ isCreatable: false
+ exportMetaObjectRevisions: [0, 0]
+ Property { name: "sentenceEndingCharacters"; type: "string" }
+ Property { name: "autoCapitalizationEnabled"; type: "bool"; isReadonly: true }
+ Property { name: "toggleShiftEnabled"; type: "bool"; isReadonly: true }
+ Property { name: "shiftActive"; type: "bool" }
+ Property { name: "capsLockActive"; type: "bool" }
+ Property { name: "uppercase"; type: "bool"; isReadonly: true }
+ Method { name: "toggleShift" }
+ Method { name: "clearToggleShiftTimer" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/AlternativeKeys 1.0"
+ exports: ["QtQuick.VirtualKeyboard/AlternativeKeys 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "active"; type: "bool" }
+ Property { name: "highlightIndex"; type: "int" }
+ Property { name: "keyCode"; type: "int" }
+ Property { name: "origin"; type: "QPointF" }
+ Property { name: "listView"; type: "QQuickListView"; isReadonly: true; isPointer: true }
+ Signal { name: "clicked" }
+ Method {
+ name: "open"
+ type: "QVariant"
+ Parameter { name: "key"; type: "QVariant" }
+ Parameter { name: "originX"; type: "QVariant" }
+ Parameter { name: "originY"; type: "QVariant" }
+ }
+ Method {
+ name: "move"
+ type: "QVariant"
+ Parameter { name: "mouseX"; type: "QVariant" }
+ }
+ Method { name: "close"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/AlternativeKeys 2.0"
+ exports: ["QtQuick.VirtualKeyboard/AlternativeKeys 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "active"; type: "bool" }
+ Property { name: "highlightIndex"; type: "int" }
+ Property { name: "keyCode"; type: "int" }
+ Property { name: "origin"; type: "QPointF" }
+ Property { name: "listView"; type: "QQuickListView"; isReadonly: true; isPointer: true }
+ Signal { name: "clicked" }
+ Method {
+ name: "open"
+ type: "QVariant"
+ Parameter { name: "key"; type: "QVariant" }
+ Parameter { name: "originX"; type: "QVariant" }
+ Parameter { name: "originY"; type: "QVariant" }
+ }
+ Method {
+ name: "move"
+ type: "QVariant"
+ Parameter { name: "mouseX"; type: "QVariant" }
+ }
+ Method { name: "close"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/BackspaceKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/BackspaceKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/BackspaceKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/BackspaceKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/BaseKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/BaseKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/BaseKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/BaseKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/ChangeLanguageKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/ChangeLanguageKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "customLayoutsOnly"; type: "bool" }
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/ChangeLanguageKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/ChangeLanguageKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "customLayoutsOnly"; type: "bool" }
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/CharacterPreviewBubble 2.0"
+ exports: ["QtQuick.VirtualKeyboard/CharacterPreviewBubble 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "active"; type: "bool" }
+ Property { name: "activeKey"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/CharacterPreviewBubble 1.0"
+ exports: ["QtQuick.VirtualKeyboard/CharacterPreviewBubble 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "active"; type: "bool" }
+ Property { name: "activeKey"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/EnterKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/EnterKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "actionId"; type: "int"; isReadonly: true }
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/EnterKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/EnterKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "actionId"; type: "int"; isReadonly: true }
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/FillerKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/FillerKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/FillerKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/FillerKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/HandwritingInputPanel 2.0"
+ exports: ["QtQuick.VirtualKeyboard/HandwritingInputPanel 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "inputPanel"; type: "QVariant" }
+ Property { name: "available"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/HandwritingModeKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/HandwritingModeKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/HideKeyboardKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/HideKeyboardKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/HideKeyboardKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/HideKeyboardKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputModeKey 2.3"
+ exports: ["QtQuick.VirtualKeyboard/InputModeKey 2.3"]
+ exportMetaObjectRevisions: [3]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "inputModeNameList"; type: "QVariant" }
+ Property { name: "inputModes"; type: "QVariant" }
+ Property { name: "inputModeCount"; type: "int"; isReadonly: true }
+ Property { name: "__inputModes"; type: "QVariant" }
+ Method {
+ name: "__nextInputMode"
+ type: "QVariant"
+ Parameter { name: "inputMode"; type: "QVariant" }
+ }
+ Method {
+ name: "__filterInputModes"
+ type: "QVariant"
+ Parameter { name: "inputModes"; type: "QVariant" }
+ Parameter { name: "filter"; type: "QVariant" }
+ }
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputPanel 2.3"
+ exports: ["QtQuick.VirtualKeyboard/InputPanel 2.3"]
+ exportMetaObjectRevisions: [3]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "externalLanguageSwitchEnabled"; type: "bool" }
+ Property { name: "__isRootItem"; type: "bool"; isReadonly: true }
+ Property { name: "active"; type: "bool" }
+ Property { name: "keyboard"; type: "Keyboard_QMLTYPE_16"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "externalLanguageSwitch"
+ Parameter { name: "localeList"; type: "QVariant" }
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputPanel 1.2"
+ exports: ["QtQuick.VirtualKeyboard/InputPanel 1.2"]
+ exportMetaObjectRevisions: [2]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "externalLanguageSwitchEnabled"; type: "bool" }
+ Property { name: "__isRootItem"; type: "bool"; isReadonly: true }
+ Property { name: "active"; type: "bool" }
+ Property { name: "keyboard"; type: "Keyboard_QMLTYPE_16"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "externalLanguageSwitch"
+ Parameter { name: "localeList"; type: "QVariant" }
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputPanel 2.1"
+ exports: ["QtQuick.VirtualKeyboard/InputPanel 2.1"]
+ exportMetaObjectRevisions: [1]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "externalLanguageSwitchEnabled"; type: "bool" }
+ Property { name: "__isRootItem"; type: "bool"; isReadonly: true }
+ Property { name: "active"; type: "bool" }
+ Property { name: "keyboard"; type: "Keyboard_QMLTYPE_16"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "externalLanguageSwitch"
+ Parameter { name: "localeList"; type: "QVariant" }
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputPanel 2.4"
+ exports: ["QtQuick.VirtualKeyboard/InputPanel 2.4"]
+ exportMetaObjectRevisions: [4]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "externalLanguageSwitchEnabled"; type: "bool" }
+ Property { name: "__isRootItem"; type: "bool"; isReadonly: true }
+ Property { name: "active"; type: "bool" }
+ Property { name: "keyboard"; type: "Keyboard_QMLTYPE_16"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "externalLanguageSwitch"
+ Parameter { name: "localeList"; type: "QVariant" }
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputPanel 1.3"
+ exports: ["QtQuick.VirtualKeyboard/InputPanel 1.3"]
+ exportMetaObjectRevisions: [3]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "externalLanguageSwitchEnabled"; type: "bool" }
+ Property { name: "__isRootItem"; type: "bool"; isReadonly: true }
+ Property { name: "active"; type: "bool" }
+ Property { name: "keyboard"; type: "Keyboard_QMLTYPE_16"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "externalLanguageSwitch"
+ Parameter { name: "localeList"; type: "QVariant" }
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputPanel 2.2"
+ exports: ["QtQuick.VirtualKeyboard/InputPanel 2.2"]
+ exportMetaObjectRevisions: [2]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "externalLanguageSwitchEnabled"; type: "bool" }
+ Property { name: "__isRootItem"; type: "bool"; isReadonly: true }
+ Property { name: "active"; type: "bool" }
+ Property { name: "keyboard"; type: "Keyboard_QMLTYPE_16"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "externalLanguageSwitch"
+ Parameter { name: "localeList"; type: "QVariant" }
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputPanel 1.0"
+ exports: ["QtQuick.VirtualKeyboard/InputPanel 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "externalLanguageSwitchEnabled"; type: "bool" }
+ Property { name: "__isRootItem"; type: "bool"; isReadonly: true }
+ Property { name: "active"; type: "bool" }
+ Property { name: "keyboard"; type: "Keyboard_QMLTYPE_16"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "externalLanguageSwitch"
+ Parameter { name: "localeList"; type: "QVariant" }
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/InputPanel 2.0"
+ exports: ["QtQuick.VirtualKeyboard/InputPanel 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "externalLanguageSwitchEnabled"; type: "bool" }
+ Property { name: "__isRootItem"; type: "bool"; isReadonly: true }
+ Property { name: "active"; type: "bool" }
+ Property { name: "keyboard"; type: "Keyboard_QMLTYPE_16"; isReadonly: true; isPointer: true }
+ Signal {
+ name: "externalLanguageSwitch"
+ Parameter { name: "localeList"; type: "QVariant" }
+ Parameter { name: "currentIndex"; type: "int" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/Key 1.0"
+ exports: ["QtQuick.VirtualKeyboard/Key 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/Key 2.0"
+ exports: ["QtQuick.VirtualKeyboard/Key 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/Keyboard 1.0"
+ exports: ["QtQuick.VirtualKeyboard/Keyboard 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "activeKey"; type: "QVariant" }
+ Property { name: "activeTouchPoint"; type: "QQuickTouchPoint"; isPointer: true }
+ Property { name: "localeIndex"; type: "int" }
+ Property { name: "availableLocaleIndices"; type: "QVariant" }
+ Property { name: "availableCustomLocaleIndices"; type: "QVariant" }
+ Property { name: "locale"; type: "string" }
+ Property { name: "inputLocale"; type: "string" }
+ Property { name: "defaultLocaleIndex"; type: "int" }
+ Property { name: "latinOnly"; type: "bool"; isReadonly: true }
+ Property { name: "preferNumbers"; type: "bool"; isReadonly: true }
+ Property { name: "dialableCharactersOnly"; type: "bool"; isReadonly: true }
+ Property { name: "formattedNumbersOnly"; type: "bool"; isReadonly: true }
+ Property { name: "digitsOnly"; type: "bool"; isReadonly: true }
+ Property { name: "layout"; type: "string" }
+ Property { name: "layoutType"; type: "string" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "handwritingMode"; type: "bool" }
+ Property { name: "fullScreenHandwritingMode"; type: "bool" }
+ Property { name: "symbolMode"; type: "bool" }
+ Property { name: "fullScreenMode"; type: "bool" }
+ Property { name: "defaultInputMethod"; type: "QVariant" }
+ Property { name: "plainInputMethod"; type: "QVariant" }
+ Property { name: "customInputMethod"; type: "QVariant" }
+ Property { name: "customInputMethodSharedLayouts"; type: "QVariant" }
+ Property { name: "defaultInputMode"; type: "int" }
+ Property { name: "inputMethodNeedsReset"; type: "bool" }
+ Property { name: "inputModeNeedsReset"; type: "bool" }
+ Property { name: "navigationModeActive"; type: "bool" }
+ Property { name: "languagePopupListActive"; type: "bool"; isReadonly: true }
+ Property { name: "style"; type: "QObject"; isReadonly: true; isPointer: true }
+ Property { name: "wordCandidateView"; type: "QQuickListView"; isReadonly: true; isPointer: true }
+ Property { name: "shadowInputControl"; type: "QQuickItem"; isReadonly: true; isPointer: true }
+ Property { name: "soundEffect"; type: "QQuickItem"; isReadonly: true; isPointer: true }
+ Method { name: "initDefaultInputMethod"; type: "QVariant" }
+ Method {
+ name: "showLanguagePopup"
+ type: "QVariant"
+ Parameter { name: "parentItem"; type: "QVariant" }
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ }
+ Method { name: "hideLanguagePopup"; type: "QVariant" }
+ Method {
+ name: "showWordCandidateContextMenu"
+ type: "QVariant"
+ Parameter { name: "wordCandidateIndex"; type: "QVariant" }
+ }
+ Method { name: "hideWordCandidateContextMenu"; type: "QVariant" }
+ Method { name: "updateInputMethod"; type: "QVariant" }
+ Method { name: "updateLayout"; type: "QVariant" }
+ Method { name: "updateDefaultLocale"; type: "QVariant" }
+ Method {
+ name: "filterLocaleIndices"
+ type: "QVariant"
+ Parameter { name: "filterCb"; type: "QVariant" }
+ }
+ Method { name: "updateAvailableLocaleIndices"; type: "QVariant" }
+ Method {
+ name: "listLocales"
+ type: "QVariant"
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ Parameter { name: "localeNameOnly"; type: "QVariant" }
+ }
+ Method {
+ name: "nextLocaleIndex"
+ type: "QVariant"
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ }
+ Method {
+ name: "changeInputLanguage"
+ type: "QVariant"
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ }
+ Method {
+ name: "canChangeInputLanguage"
+ type: "QVariant"
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ }
+ Method {
+ name: "findLocale"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "defaultValue"; type: "QVariant" }
+ }
+ Method { name: "findFallbackIndex"; type: "QVariant" }
+ Method {
+ name: "isValidLocale"
+ type: "QVariant"
+ Parameter { name: "localeNameOrIndex"; type: "QVariant" }
+ Parameter { name: "ignoreActiveLocales"; type: "QVariant" }
+ }
+ Method {
+ name: "getLayoutFile"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "layoutType"; type: "QVariant" }
+ }
+ Method {
+ name: "getFallbackFile"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "layoutType"; type: "QVariant" }
+ }
+ Method {
+ name: "layoutExists"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "layoutType"; type: "QVariant" }
+ }
+ Method {
+ name: "findLayout"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "layoutType"; type: "QVariant" }
+ }
+ Method { name: "isHandwritingAvailable"; type: "QVariant" }
+ Method {
+ name: "setHandwritingMode"
+ type: "QVariant"
+ Parameter { name: "enabled"; type: "QVariant" }
+ Parameter { name: "resetInputMode"; type: "QVariant" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/Keyboard 2.0"
+ exports: ["QtQuick.VirtualKeyboard/Keyboard 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "activeKey"; type: "QVariant" }
+ Property { name: "activeTouchPoint"; type: "QQuickTouchPoint"; isPointer: true }
+ Property { name: "localeIndex"; type: "int" }
+ Property { name: "availableLocaleIndices"; type: "QVariant" }
+ Property { name: "availableCustomLocaleIndices"; type: "QVariant" }
+ Property { name: "locale"; type: "string" }
+ Property { name: "inputLocale"; type: "string" }
+ Property { name: "defaultLocaleIndex"; type: "int" }
+ Property { name: "latinOnly"; type: "bool"; isReadonly: true }
+ Property { name: "preferNumbers"; type: "bool"; isReadonly: true }
+ Property { name: "dialableCharactersOnly"; type: "bool"; isReadonly: true }
+ Property { name: "formattedNumbersOnly"; type: "bool"; isReadonly: true }
+ Property { name: "digitsOnly"; type: "bool"; isReadonly: true }
+ Property { name: "layout"; type: "string" }
+ Property { name: "layoutType"; type: "string" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "handwritingMode"; type: "bool" }
+ Property { name: "fullScreenHandwritingMode"; type: "bool" }
+ Property { name: "symbolMode"; type: "bool" }
+ Property { name: "fullScreenMode"; type: "bool" }
+ Property { name: "defaultInputMethod"; type: "QVariant" }
+ Property { name: "plainInputMethod"; type: "QVariant" }
+ Property { name: "customInputMethod"; type: "QVariant" }
+ Property { name: "customInputMethodSharedLayouts"; type: "QVariant" }
+ Property { name: "defaultInputMode"; type: "int" }
+ Property { name: "inputMethodNeedsReset"; type: "bool" }
+ Property { name: "inputModeNeedsReset"; type: "bool" }
+ Property { name: "navigationModeActive"; type: "bool" }
+ Property { name: "languagePopupListActive"; type: "bool"; isReadonly: true }
+ Property { name: "style"; type: "QObject"; isReadonly: true; isPointer: true }
+ Property { name: "wordCandidateView"; type: "QQuickListView"; isReadonly: true; isPointer: true }
+ Property { name: "shadowInputControl"; type: "QQuickItem"; isReadonly: true; isPointer: true }
+ Property { name: "soundEffect"; type: "QQuickItem"; isReadonly: true; isPointer: true }
+ Method { name: "initDefaultInputMethod"; type: "QVariant" }
+ Method {
+ name: "showLanguagePopup"
+ type: "QVariant"
+ Parameter { name: "parentItem"; type: "QVariant" }
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ }
+ Method { name: "hideLanguagePopup"; type: "QVariant" }
+ Method {
+ name: "showWordCandidateContextMenu"
+ type: "QVariant"
+ Parameter { name: "wordCandidateIndex"; type: "QVariant" }
+ }
+ Method { name: "hideWordCandidateContextMenu"; type: "QVariant" }
+ Method { name: "updateInputMethod"; type: "QVariant" }
+ Method { name: "updateLayout"; type: "QVariant" }
+ Method { name: "updateDefaultLocale"; type: "QVariant" }
+ Method {
+ name: "filterLocaleIndices"
+ type: "QVariant"
+ Parameter { name: "filterCb"; type: "QVariant" }
+ }
+ Method { name: "updateAvailableLocaleIndices"; type: "QVariant" }
+ Method {
+ name: "listLocales"
+ type: "QVariant"
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ Parameter { name: "localeNameOnly"; type: "QVariant" }
+ }
+ Method {
+ name: "nextLocaleIndex"
+ type: "QVariant"
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ }
+ Method {
+ name: "changeInputLanguage"
+ type: "QVariant"
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ }
+ Method {
+ name: "canChangeInputLanguage"
+ type: "QVariant"
+ Parameter { name: "customLayoutsOnly"; type: "QVariant" }
+ }
+ Method {
+ name: "findLocale"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "defaultValue"; type: "QVariant" }
+ }
+ Method { name: "findFallbackIndex"; type: "QVariant" }
+ Method {
+ name: "isValidLocale"
+ type: "QVariant"
+ Parameter { name: "localeNameOrIndex"; type: "QVariant" }
+ Parameter { name: "ignoreActiveLocales"; type: "QVariant" }
+ }
+ Method {
+ name: "getLayoutFile"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "layoutType"; type: "QVariant" }
+ }
+ Method {
+ name: "getFallbackFile"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "layoutType"; type: "QVariant" }
+ }
+ Method {
+ name: "layoutExists"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "layoutType"; type: "QVariant" }
+ }
+ Method {
+ name: "findLayout"
+ type: "QVariant"
+ Parameter { name: "localeName"; type: "QVariant" }
+ Parameter { name: "layoutType"; type: "QVariant" }
+ }
+ Method { name: "isHandwritingAvailable"; type: "QVariant" }
+ Method {
+ name: "setHandwritingMode"
+ type: "QVariant"
+ Parameter { name: "enabled"; type: "QVariant" }
+ Parameter { name: "resetInputMode"; type: "QVariant" }
+ }
+ }
+ Component {
+ prototype: "QQuickColumnLayout"
+ name: "QtQuick.VirtualKeyboard/KeyboardColumn 2.0"
+ exports: ["QtQuick.VirtualKeyboard/KeyboardColumn 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "keyWeight"; type: "double" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ }
+ Component {
+ prototype: "QQuickColumnLayout"
+ name: "QtQuick.VirtualKeyboard/KeyboardColumn 1.0"
+ exports: ["QtQuick.VirtualKeyboard/KeyboardColumn 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "keyWeight"; type: "double" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ }
+ Component {
+ prototype: "QQuickColumnLayout"
+ name: "QtQuick.VirtualKeyboard/KeyboardLayout 1.0"
+ exports: ["QtQuick.VirtualKeyboard/KeyboardLayout 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "inputMethod"; type: "QVariant" }
+ Property { name: "sharedLayouts"; type: "QVariant" }
+ Property { name: "inputMode"; type: "int" }
+ Property { name: "keyWeight"; type: "double" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Method { name: "createInputMethod"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickColumnLayout"
+ name: "QtQuick.VirtualKeyboard/KeyboardLayout 2.0"
+ exports: ["QtQuick.VirtualKeyboard/KeyboardLayout 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "inputMethod"; type: "QVariant" }
+ Property { name: "sharedLayouts"; type: "QVariant" }
+ Property { name: "inputMode"; type: "int" }
+ Property { name: "keyWeight"; type: "double" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Method { name: "createInputMethod"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickLoader"
+ name: "QtQuick.VirtualKeyboard/KeyboardLayoutLoader 1.1"
+ exports: ["QtQuick.VirtualKeyboard/KeyboardLayoutLoader 1.1"]
+ exportMetaObjectRevisions: [1]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "inputMethod"; type: "QVariant" }
+ Property { name: "sharedLayouts"; type: "QVariant" }
+ Property { name: "inputMode"; type: "int" }
+ Property { name: "__updateCount"; type: "int" }
+ Method { name: "createInputMethod"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickLoader"
+ name: "QtQuick.VirtualKeyboard/KeyboardLayoutLoader 2.0"
+ exports: ["QtQuick.VirtualKeyboard/KeyboardLayoutLoader 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "inputMethod"; type: "QVariant" }
+ Property { name: "sharedLayouts"; type: "QVariant" }
+ Property { name: "inputMode"; type: "int" }
+ Property { name: "__updateCount"; type: "int" }
+ Method { name: "createInputMethod"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickRowLayout"
+ name: "QtQuick.VirtualKeyboard/KeyboardRow 2.0"
+ exports: ["QtQuick.VirtualKeyboard/KeyboardRow 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "keyWeight"; type: "double" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ }
+ Component {
+ prototype: "QQuickRowLayout"
+ name: "QtQuick.VirtualKeyboard/KeyboardRow 1.0"
+ exports: ["QtQuick.VirtualKeyboard/KeyboardRow 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "keyWeight"; type: "double" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/ModeKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/ModeKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "mode"; type: "bool" }
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QVirtualKeyboardAbstractInputMethod"
+ name: "QtQuick.VirtualKeyboard/MultitapInputMethod 1.0"
+ exports: ["QtQuick.VirtualKeyboard/MultitapInputMethod 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ Property { name: "multitapSequence"; type: "string" }
+ Property { name: "multitapIndex"; type: "int" }
+ Property { name: "multiTapTimer"; type: "QVariant" }
+ Method {
+ name: "inputModes"
+ type: "QVariant"
+ Parameter { name: "locale"; type: "QVariant" }
+ }
+ Method {
+ name: "setInputMode"
+ type: "QVariant"
+ Parameter { name: "locale"; type: "QVariant" }
+ Parameter { name: "inputMode"; type: "QVariant" }
+ }
+ Method {
+ name: "setTextCase"
+ type: "QVariant"
+ Parameter { name: "textCase"; type: "QVariant" }
+ }
+ Method { name: "reset"; type: "QVariant" }
+ Method { name: "update"; type: "QVariant" }
+ Method {
+ name: "keyEvent"
+ type: "QVariant"
+ Parameter { name: "key"; type: "QVariant" }
+ Parameter { name: "text"; type: "QVariant" }
+ Parameter { name: "modifiers"; type: "QVariant" }
+ }
+ Method { name: "selectionLists"; type: "QVariant" }
+ Method {
+ name: "selectionListItemCount"
+ type: "QVariant"
+ Parameter { name: "type"; type: "QVariant" }
+ }
+ Method {
+ name: "selectionListData"
+ type: "QVariant"
+ Parameter { name: "type"; type: "QVariant" }
+ Parameter { name: "index"; type: "QVariant" }
+ Parameter { name: "role"; type: "QVariant" }
+ }
+ Method {
+ name: "selectionListItemSelected"
+ type: "QVariant"
+ Parameter { name: "type"; type: "QVariant" }
+ Parameter { name: "index"; type: "QVariant" }
+ }
+ Property {
+ name: "inputContext"
+ type: "QVirtualKeyboardInputContext"
+ isReadonly: true
+ isPointer: true
+ }
+ Property {
+ name: "inputEngine"
+ type: "QVirtualKeyboardInputEngine"
+ isReadonly: true
+ isPointer: true
+ }
+ }
+ Component {
+ prototype: "QVirtualKeyboardAbstractInputMethod"
+ name: "QtQuick.VirtualKeyboard/MultitapInputMethod 2.0"
+ exports: ["QtQuick.VirtualKeyboard/MultitapInputMethod 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ Property { name: "multitapSequence"; type: "string" }
+ Property { name: "multitapIndex"; type: "int" }
+ Property { name: "multiTapTimer"; type: "QVariant" }
+ Method {
+ name: "inputModes"
+ type: "QVariant"
+ Parameter { name: "locale"; type: "QVariant" }
+ }
+ Method {
+ name: "setInputMode"
+ type: "QVariant"
+ Parameter { name: "locale"; type: "QVariant" }
+ Parameter { name: "inputMode"; type: "QVariant" }
+ }
+ Method {
+ name: "setTextCase"
+ type: "QVariant"
+ Parameter { name: "textCase"; type: "QVariant" }
+ }
+ Method { name: "reset"; type: "QVariant" }
+ Method { name: "update"; type: "QVariant" }
+ Method {
+ name: "keyEvent"
+ type: "QVariant"
+ Parameter { name: "key"; type: "QVariant" }
+ Parameter { name: "text"; type: "QVariant" }
+ Parameter { name: "modifiers"; type: "QVariant" }
+ }
+ Method { name: "selectionLists"; type: "QVariant" }
+ Method {
+ name: "selectionListItemCount"
+ type: "QVariant"
+ Parameter { name: "type"; type: "QVariant" }
+ }
+ Method {
+ name: "selectionListData"
+ type: "QVariant"
+ Parameter { name: "type"; type: "QVariant" }
+ Parameter { name: "index"; type: "QVariant" }
+ Parameter { name: "role"; type: "QVariant" }
+ }
+ Method {
+ name: "selectionListItemSelected"
+ type: "QVariant"
+ Parameter { name: "type"; type: "QVariant" }
+ Parameter { name: "index"; type: "QVariant" }
+ }
+ Property {
+ name: "inputContext"
+ type: "QVirtualKeyboardInputContext"
+ isReadonly: true
+ isPointer: true
+ }
+ Property {
+ name: "inputEngine"
+ type: "QVirtualKeyboardInputEngine"
+ isReadonly: true
+ isPointer: true
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/NumberKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/NumberKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/NumberKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/NumberKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickListView"
+ name: "QtQuick.VirtualKeyboard/PopupList 2.3"
+ exports: ["QtQuick.VirtualKeyboard/PopupList 2.3"]
+ exportMetaObjectRevisions: [3]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "maxVisibleItems"; type: "int" }
+ Property { name: "preferredVisibleItems"; type: "int"; isReadonly: true }
+ Property { name: "contentWidth"; type: "double"; isReadonly: true }
+ Property { name: "background"; type: "QQmlComponent"; isPointer: true }
+ Property { name: "defaultHighlight"; type: "QQmlComponent"; isReadonly: true; isPointer: true }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/SelectionControl 2.1"
+ exports: ["QtQuick.VirtualKeyboard/SelectionControl 2.1"]
+ exportMetaObjectRevisions: [1]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "handleIsMoving"; type: "bool" }
+ Property { name: "inputContext"; type: "QVariant" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/ShiftKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/ShiftKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/ShiftKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/ShiftKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/SpaceKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/SpaceKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/SpaceKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/SpaceKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/SymbolModeKey 1.0"
+ exports: ["QtQuick.VirtualKeyboard/SymbolModeKey 1.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/SymbolModeKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/SymbolModeKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "text"; type: "string" }
+ Property { name: "displayText"; type: "string" }
+ Property { name: "smallText"; type: "string" }
+ Property { name: "smallTextVisible"; type: "bool" }
+ Property { name: "alternativeKeys"; type: "QVariant" }
+ Property { name: "effectiveAlternativeKeys"; type: "QVariant"; isReadonly: true }
+ Property { name: "effectiveAlternativeKeysHighlightIndex"; type: "int"; isReadonly: true }
+ Property { name: "key"; type: "int" }
+ Property { name: "noKeyEvent"; type: "bool" }
+ Property { name: "active"; type: "bool" }
+ Property { name: "noModifier"; type: "bool" }
+ Property { name: "repeat"; type: "bool" }
+ Property { name: "highlighted"; type: "bool" }
+ Property { name: "functionKey"; type: "bool" }
+ Property { name: "showPreview"; type: "bool" }
+ Property { name: "pressed"; type: "bool" }
+ Property { name: "uppercased"; type: "bool" }
+ Property { name: "soundEffect"; type: "QUrl"; isReadonly: true }
+ Property { name: "keyPanelDelegate"; type: "QQmlComponent"; isPointer: true }
+ Signal { name: "clicked" }
+ }
+ Component {
+ prototype: "QQuickMultiPointTouchArea"
+ name: "QtQuick.VirtualKeyboard/TraceInputArea 2.0"
+ exports: ["QtQuick.VirtualKeyboard/TraceInputArea 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "patternRecognitionMode"; type: "int" }
+ Property { name: "horizontalRulers"; type: "QVariant" }
+ Property { name: "verticalRulers"; type: "QVariant" }
+ Property { name: "boundingBox"; type: "QRectF"; isReadonly: true }
+ Property { name: "canvasType"; type: "string" }
+ Property { name: "__traceCanvasList"; type: "QVariant" }
+ Property { name: "__traceCaptureDeviceInfo"; type: "QVariant" }
+ Property { name: "__traceScreenInfo"; type: "QVariant" }
+ Method {
+ name: "findTraceCanvasById"
+ type: "QVariant"
+ Parameter { name: "traceId"; type: "QVariant" }
+ }
+ }
+ Component {
+ prototype: "QQuickItem"
+ name: "QtQuick.VirtualKeyboard/TraceInputKey 2.0"
+ exports: ["QtQuick.VirtualKeyboard/TraceInputKey 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "weight"; type: "double" }
+ Property { name: "patternRecognitionMode"; type: "int" }
+ Property { name: "horizontalRulers"; type: "QVariant" }
+ Property { name: "verticalRulers"; type: "QVariant" }
+ Property { name: "boundingBox"; type: "QRectF"; isReadonly: true }
+ Property { name: "canvasType"; type: "string" }
+ }
+ Component {
+ prototype: "QQuickListView"
+ name: "QtQuick.VirtualKeyboard/WordCandidatePopupList 2.0"
+ exports: ["QtQuick.VirtualKeyboard/WordCandidatePopupList 2.0"]
+ exportMetaObjectRevisions: [0]
+ isComposite: true
+ defaultProperty: "data"
+ Property { name: "preferredVisibleItems"; type: "int"; isReadonly: true }
+ Property { name: "flipVertical"; type: "bool"; isReadonly: true }
+ Property { name: "maxVisibleItems"; type: "int" }
+ Property { name: "contentWidth"; type: "double"; isReadonly: true }
+ Property { name: "background"; type: "QQmlComponent"; isPointer: true }
+ Property { name: "defaultHighlight"; type: "QQmlComponent"; isReadonly: true; isPointer: true }
+ }
+}
diff --git a/src/import/qmldir b/src/import/qmldir
new file mode 100644
index 00000000..e1110f1a
--- /dev/null
+++ b/src/import/qmldir
@@ -0,0 +1,10 @@
+module QtQuick.VirtualKeyboard
+plugin qtquickvirtualkeyboardplugin
+classname QtQuickVirtualKeyboardPlugin
+typeinfo plugins.qmltypes
+depends QtQuick 2.0
+depends QtQuick.Window 2.2
+depends QtQuick.Layouts 1.0
+depends Qt.labs.folderlistmodel 2.1
+depends QtQuick.VirtualKeyboard.Settings 2.2
+depends QtQuick.VirtualKeyboard.Styles 2.2
diff --git a/src/import/qtquickvirtualkeyboardplugin.cpp b/src/import/qtquickvirtualkeyboardplugin.cpp
new file mode 100644
index 00000000..969884c2
--- /dev/null
+++ b/src/import/qtquickvirtualkeyboardplugin.cpp
@@ -0,0 +1,152 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "qtquickvirtualkeyboardplugin.h"
+
+#include <QtVirtualKeyboard/qvirtualkeyboardinputcontext.h>
+#include <QtVirtualKeyboard/qvirtualkeyboardinputengine.h>
+#include <QtVirtualKeyboard/private/qvirtualkeyboardinputcontext_p.h>
+#include <QtVirtualKeyboard/private/shifthandler_p.h>
+#include <QtVirtualKeyboard/private/inputmethod_p.h>
+#include <QtVirtualKeyboard/qvirtualkeyboardselectionlistmodel.h>
+#include <QtVirtualKeyboard/private/enterkeyaction_p.h>
+#include <QtVirtualKeyboard/private/enterkeyactionattachedtype_p.h>
+#include <QtVirtualKeyboard/qvirtualkeyboardtrace.h>
+#include <QtVirtualKeyboard/private/shadowinputcontext_p.h>
+#include <QtVirtualKeyboard/private/qvirtualkeyboard_staticplugin_p.h>
+
+QT_BEGIN_NAMESPACE
+
+using namespace QtVirtualKeyboard;
+
+static QObject *createInputContextModule(QQmlEngine *engine, QJSEngine *scriptEngine)
+{
+ Q_UNUSED(engine)
+ Q_UNUSED(scriptEngine)
+ return new QVirtualKeyboardInputContext();
+}
+
+void QtQuickVirtualKeyboardPlugin::registerTypes(const char *uri)
+{
+#if defined(QT_STATICPLUGIN)
+ Q_VKB_IMPORT_PLUGIN(QtQuick2Plugin)
+ Q_VKB_IMPORT_PLUGIN(QtQuick2WindowPlugin)
+ Q_VKB_IMPORT_PLUGIN(QtQuickLayoutsPlugin)
+ Q_VKB_IMPORT_PLUGIN(QmlFolderListModelPlugin)
+ Q_VKB_IMPORT_PLUGIN(QtQuickVirtualKeyboardSettingsPlugin)
+ Q_VKB_IMPORT_PLUGIN(QtQuickVirtualKeyboardStylesPlugin)
+#endif
+
+ qmlRegisterSingletonType<QVirtualKeyboardInputContext>(uri, 1, 0, "InputContext", createInputContextModule);
+ qmlRegisterSingletonType<QVirtualKeyboardInputContext>(uri, 2, 0, "InputContext", createInputContextModule);
+ qmlRegisterUncreatableType<QVirtualKeyboardInputContextPrivate>(uri, 1, 0, "InputContextPrivate", QLatin1String("Cannot create input context private"));
+ qmlRegisterUncreatableType<QVirtualKeyboardInputEngine>(uri, 1, 0, "InputEngine", QLatin1String("Cannot create input method engine"));
+ qmlRegisterUncreatableType<QVirtualKeyboardInputEngine>(uri, 2, 0, "InputEngine", QLatin1String("Cannot create input method engine"));
+ qRegisterMetaType<ShiftHandler *>("ShiftHandler*");
+ qmlRegisterUncreatableType<ShiftHandler>(uri, 1, 0, "ShiftHandler", QLatin1String("Cannot create shift handler"));
+ qmlRegisterUncreatableType<ShiftHandler>(uri, 2, 0, "ShiftHandler", QLatin1String("Cannot create shift handler"));
+ qmlRegisterUncreatableType<QVirtualKeyboardSelectionListModel>(uri, 1, 0, "SelectionListModel", QLatin1String("Cannot create selection list model"));
+ qmlRegisterUncreatableType<QVirtualKeyboardSelectionListModel>(uri, 2, 0, "SelectionListModel", QLatin1String("Cannot create selection list model"));
+ qmlRegisterUncreatableType<QVirtualKeyboardAbstractInputMethod>(uri, 1, 0, "AbstractInputMethod", QLatin1String("Cannot create abstract input method"));
+ qmlRegisterUncreatableType<QVirtualKeyboardAbstractInputMethod>(uri, 2, 0, "AbstractInputMethod", QLatin1String("Cannot create abstract input method"));
+ qmlRegisterType<InputMethod>(uri, 1, 0, "InputMethod");
+ qmlRegisterType<InputMethod>(uri, 2, 0, "InputMethod");
+ qmlRegisterType<EnterKeyActionAttachedType>();
+ qmlRegisterType<EnterKeyAction>(uri, 1, 0, "EnterKeyAction");
+ qmlRegisterType<EnterKeyAction>(uri, 2, 0, "EnterKeyAction");
+ qmlRegisterType<QVirtualKeyboardTrace>(uri, 2, 0, "Trace");
+ qmlRegisterType<QVirtualKeyboardTrace>(uri, 2, 4, "Trace");
+ qRegisterMetaType<ShadowInputContext *>("ShadowInputContext*");
+ qmlRegisterUncreatableType<ShadowInputContext>(uri, 2, 2, "ShadowInputContext", QLatin1String("Cannot create shadow input context"));
+
+ const QString path(QStringLiteral("qrc:///QtQuick/VirtualKeyboard/content/"));
+ qmlRegisterType(QUrl(path + QLatin1String("InputPanel.qml")), uri, 1, 0, "InputPanel");
+ qmlRegisterType(QUrl(path + QLatin1String("InputPanel.qml")), uri, 1, 2, "InputPanel");
+ qmlRegisterType(QUrl(path + QLatin1String("InputPanel.qml")), uri, 1, 3, "InputPanel");
+ qmlRegisterType(QUrl(path + QLatin1String("InputPanel.qml")), uri, 2, 0, "InputPanel");
+ qmlRegisterType(QUrl(path + QLatin1String("InputPanel.qml")), uri, 2, 1, "InputPanel");
+ qmlRegisterType(QUrl(path + QLatin1String("InputPanel.qml")), uri, 2, 2, "InputPanel");
+ qmlRegisterType(QUrl(path + QLatin1String("InputPanel.qml")), uri, 2, 3, "InputPanel");
+ qmlRegisterType(QUrl(path + QLatin1String("InputPanel.qml")), uri, 2, 4, "InputPanel");
+ qmlRegisterType(QUrl(path + QLatin1String("HandwritingInputPanel.qml")), uri, 2, 0, "HandwritingInputPanel");
+ const QString componentsPath = path + QStringLiteral("components/");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("AlternativeKeys.qml")), uri, 1, 0, "AlternativeKeys");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("AlternativeKeys.qml")), uri, 2, 0, "AlternativeKeys");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("BackspaceKey.qml")), uri, 1, 0, "BackspaceKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("BackspaceKey.qml")), uri, 2, 0, "BackspaceKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("BaseKey.qml")), uri, 1, 0, "BaseKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("BaseKey.qml")), uri, 2, 0, "BaseKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("ChangeLanguageKey.qml")), uri, 1, 0, "ChangeLanguageKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("ChangeLanguageKey.qml")), uri, 2, 0, "ChangeLanguageKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("CharacterPreviewBubble.qml")), uri, 1, 0, "CharacterPreviewBubble");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("CharacterPreviewBubble.qml")), uri, 2, 0, "CharacterPreviewBubble");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("EnterKey.qml")), uri, 1, 0, "EnterKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("EnterKey.qml")), uri, 2, 0, "EnterKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("FillerKey.qml")), uri, 1, 0, "FillerKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("FillerKey.qml")), uri, 2, 0, "FillerKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("HideKeyboardKey.qml")), uri, 1, 0, "HideKeyboardKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("HideKeyboardKey.qml")), uri, 2, 0, "HideKeyboardKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("KeyboardColumn.qml")), uri, 1, 0, "KeyboardColumn");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("KeyboardColumn.qml")), uri, 2, 0, "KeyboardColumn");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("KeyboardLayout.qml")), uri, 1, 0, "KeyboardLayout");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("KeyboardLayout.qml")), uri, 2, 0, "KeyboardLayout");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("KeyboardLayoutLoader.qml")), uri, 1, 1, "KeyboardLayoutLoader");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("KeyboardLayoutLoader.qml")), uri, 2, 0, "KeyboardLayoutLoader");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("Keyboard.qml")), uri, 1, 0, "Keyboard");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("Keyboard.qml")), uri, 2, 0, "Keyboard");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("KeyboardRow.qml")), uri, 1, 0, "KeyboardRow");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("KeyboardRow.qml")), uri, 2, 0, "KeyboardRow");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("Key.qml")), uri, 1, 0, "Key");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("Key.qml")), uri, 2, 0, "Key");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("ModeKey.qml")), uri, 2, 0, "ModeKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("MultiSoundEffect.qml")), uri, 1, 1, "MultiSoundEffect");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("MultiSoundEffect.qml")), uri, 2, 0, "MultiSoundEffect");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("MultitapInputMethod.qml")), uri, 1, 0, "MultitapInputMethod");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("MultitapInputMethod.qml")), uri, 2, 0, "MultitapInputMethod");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("NumberKey.qml")), uri, 1, 0, "NumberKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("NumberKey.qml")), uri, 2, 0, "NumberKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("ShiftKey.qml")), uri, 1, 0, "ShiftKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("ShiftKey.qml")), uri, 2, 0, "ShiftKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("SpaceKey.qml")), uri, 1, 0, "SpaceKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("SpaceKey.qml")), uri, 2, 0, "SpaceKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("SymbolModeKey.qml")), uri, 1, 0, "SymbolModeKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("SymbolModeKey.qml")), uri, 2, 0, "SymbolModeKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("HandwritingModeKey.qml")), uri, 2, 0, "HandwritingModeKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("TraceInputArea.qml")), uri, 2, 0, "TraceInputArea");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("TraceInputKey.qml")), uri, 2, 0, "TraceInputKey");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("WordCandidatePopupList.qml")), uri, 2, 0, "WordCandidatePopupList");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("PopupList.qml")), uri, 2, 3, "PopupList");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("SelectionControl.qml")), uri, 2, 1, "SelectionControl");
+ qmlRegisterType(QUrl(componentsPath + QLatin1String("InputModeKey.qml")), uri, 2, 3, "InputModeKey");
+
+ // New revisions in 5.12.
+ qmlRegisterSingletonType<QVirtualKeyboardInputContext>(uri, 2, 4, "InputContext", createInputContextModule);
+}
+
+QT_END_NAMESPACE
diff --git a/src/import/qtquickvirtualkeyboardplugin.h b/src/import/qtquickvirtualkeyboardplugin.h
new file mode 100644
index 00000000..24651644
--- /dev/null
+++ b/src/import/qtquickvirtualkeyboardplugin.h
@@ -0,0 +1,50 @@
+/****************************************************************************
+**
+** Copyright (C) 2018 The Qt Company Ltd.
+** Contact: https://www.qt.io/licensing/
+**
+** This file is part of the Qt Virtual Keyboard module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:GPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 3 or (at your option) any later version
+** approved by the KDE Free Qt Foundation. The licenses are as published by
+** the Free Software Foundation and appearing in the file LICENSE.GPL3
+** included in the packaging of this file. Please review the following
+** information to ensure the GNU General Public License requirements will
+** be met: https://www.gnu.org/licenses/gpl-3.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#ifndef QTQUICKVIRTUALKEYBOARDPLUGIN_H
+#define QTQUICKVIRTUALKEYBOARDPLUGIN_H
+
+#include <QQmlExtensionPlugin>
+
+QT_BEGIN_NAMESPACE
+
+class QtQuickVirtualKeyboardPlugin : public QQmlExtensionPlugin
+{
+ Q_OBJECT
+ Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
+
+public:
+ QtQuickVirtualKeyboardPlugin(QObject *parent = nullptr) : QQmlExtensionPlugin(parent) { }
+ void registerTypes(const char *uri);
+};
+
+QT_END_NAMESPACE
+
+#endif // QTQUICKVIRTUALKEYBOARDPLUGIN_H
+