diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2018-08-24 10:54:56 +0300 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2018-09-06 09:46:11 +0000 |
commit | 35102b362db11828e01e7356c42c4a9e8764ac60 (patch) | |
tree | 921508408bfe566f52427cf2294bc75af7cac174 /src/import | |
parent | ee16df4f0f4ec884abf5b676706ecd1c8851b8a0 (diff) |
Move QML types registration to import modules
This change moves the QML type registration from platform input
context plugin to respective QML plugins:
QtQuick.VirtualKeyboard (import.pro)
QtQuick.VirtualKeyboard.Settings (settings.pro)
Input method types (e.g. from the virtual keyboard plugins) are still
registered in the qtvirtualkeyboard module, but with new URI:
QtQuick.VirtualKeyboard.Plugins (plugin.pro)
This change is necessary, because the Quick.VirtualKeyboard URI is now
reserved for the QML module.
Like before, the Quick.VirtualKeyboard module cannot be used without
setting QT_IM_MODULE=qtvirtualkeyboard environment variable.
The main motivation for this change was to make plugins.qmltypes
generation possible for C++ based QML types.
Change-Id: Ieb449eb73e0fa33e9a1686d471cc4284982ea1bd
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/dependencies.json | 22 | ||||
-rw-r--r-- | src/import/import.pro | 32 | ||||
-rw-r--r-- | src/import/plugins.qmltypes | 1553 | ||||
-rw-r--r-- | src/import/qmldir | 9 | ||||
-rw-r--r-- | src/import/qtquickvirtualkeyboardplugin.cpp | 149 | ||||
-rw-r--r-- | src/import/qtquickvirtualkeyboardplugin.h | 50 |
6 files changed, 1064 insertions, 751 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 index 719ad518..c1045ffc 100644 --- a/src/import/import.pro +++ b/src/import/import.pro @@ -1,12 +1,34 @@ +TARGET = qtquickvirtualkeyboardplugin TARGETPATH = QtQuick/VirtualKeyboard -QML_FILES += plugins.qmltypes +IMPORT_VERSION = 2.4 +QT += qml quick virtualkeyboard-private -load(qml_module) +CONFIG += no_cxx_module -# qmltypes target +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) - - qmltypes.commands = QT_IM_MODULE=qtvirtualkeyboard $$QMLPLUGINDUMP -defaultplatform -nonrelocatable QtQuick.VirtualKeyboard 2.4 > $$PWD/plugins.qmltypes + # 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 index f2977658..97b78ca4 100644 --- a/src/import/plugins.qmltypes +++ b/src/import/plugins.qmltypes @@ -4,15 +4,506 @@ import QtQuick.tooling 1.2 // It is used for QML tooling purposes only. // // This file was auto-generated by: -// 'qmlplugindump -defaultplatform -nonrelocatable QtQuick.VirtualKeyboard 2.1' +// 'qmlplugindump -defaultplatform -nonrelocatable -dependencies C:/Users/jarkko/work/qtvirtualkeyboard/src/import/dependencies.json QtQuick.VirtualKeyboard 2.4' Module { dependencies: [ "Qt.labs.folderlistmodel 2.1", - "QtQuick.Layouts 1.1", - "QtQuick.VirtualKeyboard.Styles 1.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" + ] + isCreatable: false + isSingleton: true + exportMetaObjectRevisions: [0, 0] + Property { name: "shift"; type: "bool"; isReadonly: true } + Property { name: "capsLock"; 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: "isFinal"; type: "bool" } + Property { name: "isCanceled"; 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: "shift"; type: "bool" } + Property { name: "capsLock"; type: "bool" } + Property { name: "uppercase"; type: "bool"; isReadonly: true } + Method { name: "toggleShift" } + Method { name: "clearToggleShiftTimer" } + } + Component { prototype: "QQuickItem" name: "QtQuick.VirtualKeyboard/AlternativeKeys 2.0" exports: ["QtQuick.VirtualKeyboard/AlternativeKeys 2.0"] @@ -23,7 +514,6 @@ Module { Property { name: "highlightIndex"; type: "int" } Property { name: "keyCode"; type: "int" } Property { name: "origin"; type: "QPointF" } - Property { name: "uppercased"; type: "bool" } Property { name: "listView"; type: "QQuickListView"; isReadonly: true; isPointer: true } Signal { name: "clicked" } Method { @@ -51,7 +541,6 @@ Module { Property { name: "highlightIndex"; type: "int" } Property { name: "keyCode"; type: "int" } Property { name: "origin"; type: "QPointF" } - Property { name: "uppercased"; type: "bool" } Property { name: "listView"; type: "QQuickListView"; isReadonly: true; isPointer: true } Signal { name: "clicked" } Method { @@ -70,8 +559,8 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/BackspaceKey 1.0" - exports: ["QtQuick.VirtualKeyboard/BackspaceKey 1.0"] + name: "QtQuick.VirtualKeyboard/BackspaceKey 2.0" + exports: ["QtQuick.VirtualKeyboard/BackspaceKey 2.0"] exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" @@ -91,7 +580,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -100,8 +588,8 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/BackspaceKey 2.0" - exports: ["QtQuick.VirtualKeyboard/BackspaceKey 2.0"] + name: "QtQuick.VirtualKeyboard/BackspaceKey 1.0" + exports: ["QtQuick.VirtualKeyboard/BackspaceKey 1.0"] exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" @@ -121,7 +609,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -151,7 +638,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -181,7 +667,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -212,7 +697,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -243,7 +727,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -294,7 +777,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -325,7 +807,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -334,8 +815,8 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/FillerKey 2.0" - exports: ["QtQuick.VirtualKeyboard/FillerKey 2.0"] + name: "QtQuick.VirtualKeyboard/FillerKey 1.0" + exports: ["QtQuick.VirtualKeyboard/FillerKey 1.0"] exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" @@ -355,7 +836,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -364,8 +844,8 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/FillerKey 1.0" - exports: ["QtQuick.VirtualKeyboard/FillerKey 1.0"] + name: "QtQuick.VirtualKeyboard/FillerKey 2.0" + exports: ["QtQuick.VirtualKeyboard/FillerKey 2.0"] exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" @@ -385,7 +865,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -426,7 +905,35 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; 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 } @@ -456,7 +963,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -465,11 +971,26 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/HideKeyboardKey 2.0" - exports: ["QtQuick.VirtualKeyboard/HideKeyboardKey 2.0"] - exportMetaObjectRevisions: [0] + 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" } @@ -486,7 +1007,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -495,23 +1015,88 @@ Module { } 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 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_10"; isReadonly: true; isPointer: true } + 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] + 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_10"; isReadonly: true; isPointer: true } + 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 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" @@ -520,28 +1105,49 @@ Module { 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_10"; isReadonly: true; isPointer: true } + 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] + 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_10"; isReadonly: true; isPointer: true } + 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] + 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_10"; isReadonly: true; isPointer: true } + 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" @@ -566,7 +1172,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -596,7 +1201,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -605,46 +1209,6 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard.Styles/KeyIcon 1.0" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyIcon 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "color"; type: "QColor" } - Property { name: "source"; type: "QUrl" } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard.Styles/KeyIcon 2.0" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyIcon 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "color"; type: "QColor" } - Property { name: "source"; type: "QUrl" } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard.Styles/KeyPanel 1.0" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyPanel 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "soundEffect"; type: "QUrl" } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard.Styles/KeyPanel 2.0" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyPanel 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "soundEffect"; type: "QUrl" } - } - Component { - prototype: "QQuickItem" name: "QtQuick.VirtualKeyboard/Keyboard 2.0" exports: ["QtQuick.VirtualKeyboard/Keyboard 2.0"] exportMetaObjectRevisions: [0] @@ -658,15 +1222,18 @@ Module { Property { name: "locale"; type: "string" } Property { name: "inputLocale"; type: "string" } Property { name: "defaultLocaleIndex"; type: "int" } - Property { name: "latinOnly"; type: "bool" } - Property { name: "preferNumbers"; type: "bool" } + 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: "uppercased"; 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" } @@ -675,14 +1242,41 @@ Module { 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" } @@ -703,10 +1297,12 @@ Module { 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" @@ -715,6 +1311,12 @@ Module { 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" } @@ -727,6 +1329,12 @@ Module { 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" @@ -743,15 +1351,18 @@ Module { Property { name: "locale"; type: "string" } Property { name: "inputLocale"; type: "string" } Property { name: "defaultLocaleIndex"; type: "int" } - Property { name: "latinOnly"; type: "bool" } - Property { name: "preferNumbers"; type: "bool" } + 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: "uppercased"; 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" } @@ -760,14 +1371,41 @@ Module { 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" } @@ -788,10 +1426,12 @@ Module { 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" @@ -800,6 +1440,12 @@ Module { 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" } @@ -812,6 +1458,12 @@ Module { 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" @@ -862,7 +1514,7 @@ Module { Method { name: "createInputMethod"; type: "QVariant" } } Component { - prototype: "QQuickItem" + prototype: "QQuickLoader" name: "QtQuick.VirtualKeyboard/KeyboardLayoutLoader 1.1" exports: ["QtQuick.VirtualKeyboard/KeyboardLayoutLoader 1.1"] exportMetaObjectRevisions: [1] @@ -873,25 +1525,9 @@ Module { Property { name: "inputMode"; type: "int" } Property { name: "__updateCount"; type: "int" } Method { name: "createInputMethod"; type: "QVariant" } - Property { name: "active"; type: "bool" } - Property { name: "source"; type: "QUrl" } - Property { name: "sourceComponent"; type: "QQmlComponent"; isPointer: true } - Property { name: "item"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "status"; type: "Status"; isReadonly: true } - Property { name: "progress"; type: "double"; isReadonly: true } - Property { name: "asynchronous"; type: "bool" } - Signal { name: "loaded" } - Method { - name: "setSource" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Property { name: "implicitWidth"; type: "double"; isReadonly: true } - Property { name: "implicitHeight"; type: "double"; isReadonly: true } - Signal { name: "implicitWidthChanged2"; revision: 1 } - Signal { name: "implicitHeightChanged2"; revision: 1 } } Component { - prototype: "QQuickItem" + prototype: "QQuickLoader" name: "QtQuick.VirtualKeyboard/KeyboardLayoutLoader 2.0" exports: ["QtQuick.VirtualKeyboard/KeyboardLayoutLoader 2.0"] exportMetaObjectRevisions: [0] @@ -902,22 +1538,6 @@ Module { Property { name: "inputMode"; type: "int" } Property { name: "__updateCount"; type: "int" } Method { name: "createInputMethod"; type: "QVariant" } - Property { name: "active"; type: "bool" } - Property { name: "source"; type: "QUrl" } - Property { name: "sourceComponent"; type: "QQmlComponent"; isPointer: true } - Property { name: "item"; type: "QObject"; isReadonly: true; isPointer: true } - Property { name: "status"; type: "Status"; isReadonly: true } - Property { name: "progress"; type: "double"; isReadonly: true } - Property { name: "asynchronous"; type: "bool" } - Signal { name: "loaded" } - Method { - name: "setSource" - Parameter { type: "QQmlV4Function"; isPointer: true } - } - Property { name: "implicitWidth"; type: "double"; isReadonly: true } - Property { name: "implicitHeight"; type: "double"; isReadonly: true } - Signal { name: "implicitWidthChanged2"; revision: 1 } - Signal { name: "implicitHeightChanged2"; revision: 1 } } Component { prototype: "QQuickRowLayout" @@ -940,318 +1560,6 @@ Module { Property { name: "smallTextVisible"; type: "bool" } } Component { - prototype: "QObject" - name: "QtQuick.VirtualKeyboard.Styles/KeyboardStyle 1.1" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyboardStyle 1.1"] - exportMetaObjectRevisions: [1] - isComposite: true - Property { name: "keyboardHeight"; type: "double" } - Property { name: "keyboardDesignWidth"; type: "double" } - Property { name: "keyboardDesignHeight"; type: "double" } - Property { name: "scaleHint"; type: "double"; isReadonly: true } - Property { name: "keyboardRelativeLeftMargin"; type: "double" } - Property { name: "keyboardRelativeRightMargin"; type: "double" } - Property { name: "keyboardRelativeTopMargin"; type: "double" } - Property { name: "keyboardRelativeBottomMargin"; type: "double" } - Property { name: "keyboardBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "keyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "backspaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "languageKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "enterKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "hideKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "shiftKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "spaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "symbolKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "handwritingKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "characterPreviewMargin"; type: "double" } - Property { name: "characterPreviewDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListItemWidth"; type: "double" } - Property { name: "alternateKeysListItemHeight"; type: "double" } - Property { name: "alternateKeysListTopMargin"; type: "double" } - Property { name: "alternateKeysListBottomMargin"; type: "double" } - Property { name: "alternateKeysListLeftMargin"; type: "double" } - Property { name: "alternateKeysListRightMargin"; type: "double" } - Property { name: "alternateKeysListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHeight"; type: "double" } - Property { name: "selectionListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "navigationHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceInputKeyPanelDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceCanvasDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "popupListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionHandle"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.VirtualKeyboard.Styles/KeyboardStyle 2.1" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyboardStyle 2.1"] - exportMetaObjectRevisions: [1] - isComposite: true - Property { name: "keyboardHeight"; type: "double" } - Property { name: "keyboardDesignWidth"; type: "double" } - Property { name: "keyboardDesignHeight"; type: "double" } - Property { name: "scaleHint"; type: "double"; isReadonly: true } - Property { name: "keyboardRelativeLeftMargin"; type: "double" } - Property { name: "keyboardRelativeRightMargin"; type: "double" } - Property { name: "keyboardRelativeTopMargin"; type: "double" } - Property { name: "keyboardRelativeBottomMargin"; type: "double" } - Property { name: "keyboardBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "keyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "backspaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "languageKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "enterKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "hideKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "shiftKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "spaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "symbolKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "handwritingKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "characterPreviewMargin"; type: "double" } - Property { name: "characterPreviewDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListItemWidth"; type: "double" } - Property { name: "alternateKeysListItemHeight"; type: "double" } - Property { name: "alternateKeysListTopMargin"; type: "double" } - Property { name: "alternateKeysListBottomMargin"; type: "double" } - Property { name: "alternateKeysListLeftMargin"; type: "double" } - Property { name: "alternateKeysListRightMargin"; type: "double" } - Property { name: "alternateKeysListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHeight"; type: "double" } - Property { name: "selectionListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "navigationHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceInputKeyPanelDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceCanvasDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "popupListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionHandle"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.VirtualKeyboard.Styles/KeyboardStyle 2.0" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyboardStyle 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - Property { name: "keyboardHeight"; type: "double" } - Property { name: "keyboardDesignWidth"; type: "double" } - Property { name: "keyboardDesignHeight"; type: "double" } - Property { name: "scaleHint"; type: "double"; isReadonly: true } - Property { name: "keyboardRelativeLeftMargin"; type: "double" } - Property { name: "keyboardRelativeRightMargin"; type: "double" } - Property { name: "keyboardRelativeTopMargin"; type: "double" } - Property { name: "keyboardRelativeBottomMargin"; type: "double" } - Property { name: "keyboardBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "keyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "backspaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "languageKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "enterKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "hideKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "shiftKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "spaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "symbolKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "handwritingKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "characterPreviewMargin"; type: "double" } - Property { name: "characterPreviewDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListItemWidth"; type: "double" } - Property { name: "alternateKeysListItemHeight"; type: "double" } - Property { name: "alternateKeysListTopMargin"; type: "double" } - Property { name: "alternateKeysListBottomMargin"; type: "double" } - Property { name: "alternateKeysListLeftMargin"; type: "double" } - Property { name: "alternateKeysListRightMargin"; type: "double" } - Property { name: "alternateKeysListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHeight"; type: "double" } - Property { name: "selectionListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "navigationHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceInputKeyPanelDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceCanvasDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "popupListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionHandle"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.VirtualKeyboard.Styles/KeyboardStyle 1.2" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyboardStyle 1.2"] - exportMetaObjectRevisions: [2] - isComposite: true - Property { name: "keyboardHeight"; type: "double" } - Property { name: "keyboardDesignWidth"; type: "double" } - Property { name: "keyboardDesignHeight"; type: "double" } - Property { name: "scaleHint"; type: "double"; isReadonly: true } - Property { name: "keyboardRelativeLeftMargin"; type: "double" } - Property { name: "keyboardRelativeRightMargin"; type: "double" } - Property { name: "keyboardRelativeTopMargin"; type: "double" } - Property { name: "keyboardRelativeBottomMargin"; type: "double" } - Property { name: "keyboardBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "keyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "backspaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "languageKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "enterKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "hideKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "shiftKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "spaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "symbolKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "handwritingKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "characterPreviewMargin"; type: "double" } - Property { name: "characterPreviewDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListItemWidth"; type: "double" } - Property { name: "alternateKeysListItemHeight"; type: "double" } - Property { name: "alternateKeysListTopMargin"; type: "double" } - Property { name: "alternateKeysListBottomMargin"; type: "double" } - Property { name: "alternateKeysListLeftMargin"; type: "double" } - Property { name: "alternateKeysListRightMargin"; type: "double" } - Property { name: "alternateKeysListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHeight"; type: "double" } - Property { name: "selectionListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "navigationHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceInputKeyPanelDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceCanvasDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "popupListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionHandle"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.VirtualKeyboard.Styles/KeyboardStyle 1.0" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyboardStyle 1.0"] - exportMetaObjectRevisions: [0] - isComposite: true - Property { name: "keyboardHeight"; type: "double" } - Property { name: "keyboardDesignWidth"; type: "double" } - Property { name: "keyboardDesignHeight"; type: "double" } - Property { name: "scaleHint"; type: "double"; isReadonly: true } - Property { name: "keyboardRelativeLeftMargin"; type: "double" } - Property { name: "keyboardRelativeRightMargin"; type: "double" } - Property { name: "keyboardRelativeTopMargin"; type: "double" } - Property { name: "keyboardRelativeBottomMargin"; type: "double" } - Property { name: "keyboardBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "keyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "backspaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "languageKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "enterKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "hideKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "shiftKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "spaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "symbolKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "handwritingKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "characterPreviewMargin"; type: "double" } - Property { name: "characterPreviewDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListItemWidth"; type: "double" } - Property { name: "alternateKeysListItemHeight"; type: "double" } - Property { name: "alternateKeysListTopMargin"; type: "double" } - Property { name: "alternateKeysListBottomMargin"; type: "double" } - Property { name: "alternateKeysListLeftMargin"; type: "double" } - Property { name: "alternateKeysListRightMargin"; type: "double" } - Property { name: "alternateKeysListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHeight"; type: "double" } - Property { name: "selectionListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "navigationHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceInputKeyPanelDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceCanvasDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "popupListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionHandle"; type: "QQmlComponent"; isPointer: true } - } - Component { - prototype: "QObject" - name: "QtQuick.VirtualKeyboard.Styles/KeyboardStyle 1.3" - exports: ["QtQuick.VirtualKeyboard.Styles/KeyboardStyle 1.3"] - exportMetaObjectRevisions: [3] - isComposite: true - Property { name: "keyboardHeight"; type: "double" } - Property { name: "keyboardDesignWidth"; type: "double" } - Property { name: "keyboardDesignHeight"; type: "double" } - Property { name: "scaleHint"; type: "double"; isReadonly: true } - Property { name: "keyboardRelativeLeftMargin"; type: "double" } - Property { name: "keyboardRelativeRightMargin"; type: "double" } - Property { name: "keyboardRelativeTopMargin"; type: "double" } - Property { name: "keyboardRelativeBottomMargin"; type: "double" } - Property { name: "keyboardBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "keyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "backspaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "languageKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "enterKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "hideKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "shiftKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "spaceKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "symbolKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "modeKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "handwritingKeyPanel"; type: "QQmlComponent"; isPointer: true } - Property { name: "characterPreviewMargin"; type: "double" } - Property { name: "characterPreviewDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListItemWidth"; type: "double" } - Property { name: "alternateKeysListItemHeight"; type: "double" } - Property { name: "alternateKeysListTopMargin"; type: "double" } - Property { name: "alternateKeysListBottomMargin"; type: "double" } - Property { name: "alternateKeysListLeftMargin"; type: "double" } - Property { name: "alternateKeysListRightMargin"; type: "double" } - Property { name: "alternateKeysListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "alternateKeysListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHeight"; type: "double" } - Property { name: "selectionListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "selectionListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "navigationHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceInputKeyPanelDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "traceCanvasDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListDelegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListHighlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListBackground"; type: "QQmlComponent"; isPointer: true } - Property { name: "popupListAdd"; type: "QQuickTransition"; isPointer: true } - Property { name: "popupListRemove"; type: "QQuickTransition"; isPointer: true } - Property { name: "selectionHandle"; type: "QQmlComponent"; isPointer: true } - } - Component { prototype: "QQuickItem" name: "QtQuick.VirtualKeyboard/ModeKey 2.0" exports: ["QtQuick.VirtualKeyboard/ModeKey 2.0"] @@ -1275,7 +1583,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1284,9 +1591,9 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/MultiSoundEffect 1.1" - exports: ["QtQuick.VirtualKeyboard/MultiSoundEffect 1.1"] - exportMetaObjectRevisions: [1] + name: "QtQuick.VirtualKeyboard/MultiSoundEffect 2.0" + exports: ["QtQuick.VirtualKeyboard/MultiSoundEffect 2.0"] + exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" Property { name: "source"; type: "QUrl" } @@ -1302,9 +1609,9 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/MultiSoundEffect 2.0" - exports: ["QtQuick.VirtualKeyboard/MultiSoundEffect 2.0"] - exportMetaObjectRevisions: [0] + name: "QtQuick.VirtualKeyboard/MultiSoundEffect 1.1" + exports: ["QtQuick.VirtualKeyboard/MultiSoundEffect 1.1"] + exportMetaObjectRevisions: [1] isComposite: true defaultProperty: "data" Property { name: "source"; type: "QUrl" } @@ -1319,9 +1626,9 @@ Module { Method { name: "play"; type: "QVariant" } } Component { - prototype: "QtVirtualKeyboard::InputMethod" - name: "QtQuick.VirtualKeyboard/MultitapInputMethod 1.0" - exports: ["QtQuick.VirtualKeyboard/MultitapInputMethod 1.0"] + prototype: "QVirtualKeyboardAbstractInputMethod" + name: "QtQuick.VirtualKeyboard/MultitapInputMethod 2.0" + exports: ["QtQuick.VirtualKeyboard/MultitapInputMethod 2.0"] exportMetaObjectRevisions: [0] isComposite: true Property { name: "multitapSequence"; type: "string" } @@ -1371,11 +1678,23 @@ Module { 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: "QtVirtualKeyboard::InputMethod" - name: "QtQuick.VirtualKeyboard/MultitapInputMethod 2.0" - exports: ["QtQuick.VirtualKeyboard/MultitapInputMethod 2.0"] + prototype: "QVirtualKeyboardAbstractInputMethod" + name: "QtQuick.VirtualKeyboard/MultitapInputMethod 1.0" + exports: ["QtQuick.VirtualKeyboard/MultitapInputMethod 1.0"] exportMetaObjectRevisions: [0] isComposite: true Property { name: "multitapSequence"; type: "string" } @@ -1425,6 +1744,18 @@ Module { 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" @@ -1449,7 +1780,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1479,7 +1809,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1487,31 +1816,27 @@ Module { Signal { name: "clicked" } } 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" } - } - Component { - prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard.Styles/SelectionListItem 2.0" - exports: ["QtQuick.VirtualKeyboard.Styles/SelectionListItem 2.0"] - exportMetaObjectRevisions: [0] + prototype: "QQuickListView" + name: "QtQuick.VirtualKeyboard/PopupList 2.3" + exports: ["QtQuick.VirtualKeyboard/PopupList 2.3"] + exportMetaObjectRevisions: [3] isComposite: true defaultProperty: "data" - Property { name: "soundEffect"; type: "QUrl" } + 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.Styles/SelectionListItem 1.0" - exports: ["QtQuick.VirtualKeyboard.Styles/SelectionListItem 1.0"] - exportMetaObjectRevisions: [0] + name: "QtQuick.VirtualKeyboard/SelectionControl 2.1" + exports: ["QtQuick.VirtualKeyboard/SelectionControl 2.1"] + exportMetaObjectRevisions: [1] isComposite: true defaultProperty: "data" - Property { name: "soundEffect"; type: "QUrl" } + Property { name: "handleIsMoving"; type: "bool" } + Property { name: "inputContext"; type: "QVariant" } } Component { prototype: "QQuickItem" @@ -1520,8 +1845,6 @@ Module { exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" - Property { name: "capsLock"; type: "bool" } - Property { name: "shift"; type: "bool" } Property { name: "weight"; type: "double" } Property { name: "text"; type: "string" } Property { name: "displayText"; type: "string" } @@ -1538,7 +1861,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1552,8 +1874,6 @@ Module { exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" - Property { name: "capsLock"; type: "bool" } - Property { name: "shift"; type: "bool" } Property { name: "weight"; type: "double" } Property { name: "text"; type: "string" } Property { name: "displayText"; type: "string" } @@ -1570,7 +1890,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1579,8 +1898,8 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/SpaceKey 1.0" - exports: ["QtQuick.VirtualKeyboard/SpaceKey 1.0"] + name: "QtQuick.VirtualKeyboard/SpaceKey 2.0" + exports: ["QtQuick.VirtualKeyboard/SpaceKey 2.0"] exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" @@ -1600,7 +1919,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1609,8 +1927,8 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/SpaceKey 2.0" - exports: ["QtQuick.VirtualKeyboard/SpaceKey 2.0"] + name: "QtQuick.VirtualKeyboard/SpaceKey 1.0" + exports: ["QtQuick.VirtualKeyboard/SpaceKey 1.0"] exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" @@ -1630,7 +1948,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1639,8 +1956,8 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/SymbolModeKey 1.0" - exports: ["QtQuick.VirtualKeyboard/SymbolModeKey 1.0"] + name: "QtQuick.VirtualKeyboard/SymbolModeKey 2.0" + exports: ["QtQuick.VirtualKeyboard/SymbolModeKey 2.0"] exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" @@ -1660,7 +1977,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1669,8 +1985,8 @@ Module { } Component { prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard/SymbolModeKey 2.0" - exports: ["QtQuick.VirtualKeyboard/SymbolModeKey 2.0"] + name: "QtQuick.VirtualKeyboard/SymbolModeKey 1.0" + exports: ["QtQuick.VirtualKeyboard/SymbolModeKey 1.0"] exportMetaObjectRevisions: [0] isComposite: true defaultProperty: "data" @@ -1690,7 +2006,6 @@ Module { Property { name: "highlighted"; type: "bool" } Property { name: "functionKey"; type: "bool" } Property { name: "showPreview"; type: "bool" } - Property { name: "enabled"; type: "bool" } Property { name: "pressed"; type: "bool" } Property { name: "uppercased"; type: "bool" } Property { name: "soundEffect"; type: "QUrl"; isReadonly: true } @@ -1698,88 +2013,7 @@ Module { Signal { name: "clicked" } } Component { - prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard.Styles/TraceCanvas 2.0" - exports: ["QtQuick.VirtualKeyboard.Styles/TraceCanvas 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "trace"; type: "QVariant" } - Property { name: "autoDestroy"; type: "bool" } - Property { name: "autoDestroyDelay"; type: "int" } - Property { name: "renderFunction"; type: "QVariant" } - Property { name: "__renderPos"; type: "int" } - Property { name: "__renderingEnabled"; type: "bool" } - Method { name: "renderSmoothedLine"; type: "QVariant" } - Property { name: "available"; type: "bool"; isReadonly: true } - Property { name: "contextType"; type: "string" } - Property { name: "context"; type: "QQmlV4Handle"; isReadonly: true } - Property { name: "canvasSize"; type: "QSizeF" } - Property { name: "tileSize"; type: "QSize" } - Property { name: "canvasWindow"; type: "QRectF" } - Property { name: "renderTarget"; type: "RenderTarget" } - Property { name: "renderStrategy"; type: "RenderStrategy" } - Signal { - name: "paint" - Parameter { name: "region"; type: "QRect" } - } - Signal { name: "painted" } - Signal { name: "imageLoaded" } - Method { - name: "loadImage" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "unloadImage" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "isImageLoaded" - type: "bool" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "isImageLoading" - type: "bool" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "isImageError" - type: "bool" - Parameter { name: "url"; type: "QUrl" } - } - Method { - name: "getContext" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "requestAnimationFrame" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { - name: "cancelRequestAnimationFrame" - Parameter { name: "args"; type: "QQmlV4Function"; isPointer: true } - } - Method { name: "requestPaint" } - Method { - name: "markDirty" - Parameter { name: "dirtyRect"; type: "QRectF" } - } - Method { name: "markDirty" } - Method { - name: "save" - type: "bool" - Parameter { name: "filename"; type: "string" } - } - Method { - name: "toDataURL" - type: "string" - Parameter { name: "type"; type: "string" } - } - Method { name: "toDataURL"; type: "string" } - } - Component { - prototype: "QQuickItem" + prototype: "QQuickMultiPointTouchArea" name: "QtQuick.VirtualKeyboard/TraceInputArea 2.0" exports: ["QtQuick.VirtualKeyboard/TraceInputArea 2.0"] exportMetaObjectRevisions: [0] @@ -1798,34 +2032,6 @@ Module { type: "QVariant" Parameter { name: "traceId"; type: "QVariant" } } - Property { name: "touchPoints"; type: "QQuickTouchPoint"; isList: true; isReadonly: true } - Property { name: "minimumTouchPoints"; type: "int" } - Property { name: "maximumTouchPoints"; type: "int" } - Property { name: "mouseEnabled"; type: "bool" } - Signal { - name: "pressed" - Parameter { name: "touchPoints"; type: "QList<QObject*>" } - } - Signal { - name: "updated" - Parameter { name: "touchPoints"; type: "QList<QObject*>" } - } - Signal { - name: "released" - Parameter { name: "touchPoints"; type: "QList<QObject*>" } - } - Signal { - name: "canceled" - Parameter { name: "touchPoints"; type: "QList<QObject*>" } - } - Signal { - name: "gestureStarted" - Parameter { name: "gesture"; type: "QQuickGrabGestureEvent"; isPointer: true } - } - Signal { - name: "touchUpdated" - Parameter { name: "touchPoints"; type: "QList<QObject*>" } - } } Component { prototype: "QQuickItem" @@ -1842,158 +2048,17 @@ Module { Property { name: "canvasType"; type: "string" } } Component { - prototype: "QQuickItem" - name: "QtQuick.VirtualKeyboard.Styles/TraceInputKeyPanel 2.0" - exports: ["QtQuick.VirtualKeyboard.Styles/TraceInputKeyPanel 2.0"] - exportMetaObjectRevisions: [0] - isComposite: true - defaultProperty: "data" - Property { name: "control"; type: "QQuickItem"; isPointer: true } - Property { name: "traceMargins"; type: "double" } - } - Component { - prototype: "QQuickItem" + prototype: "QQuickListView" name: "QtQuick.VirtualKeyboard/WordCandidatePopupList 2.0" exports: ["QtQuick.VirtualKeyboard/WordCandidatePopupList 2.0"] exportMetaObjectRevisions: [0] 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: "flipVertical"; type: "bool"; isReadonly: true } - Property { name: "highlightMoveVelocity"; type: "double" } - Property { name: "highlightResizeVelocity"; type: "double" } - Property { name: "highlightResizeDuration"; type: "int" } - Property { name: "spacing"; type: "double" } - Property { name: "orientation"; type: "Orientation" } - Property { name: "section"; type: "QQuickViewSection"; isReadonly: true; isPointer: true } - Property { name: "currentSection"; type: "string"; isReadonly: true } - Property { name: "snapMode"; type: "SnapMode" } - Property { name: "headerPositioning"; revision: 2; type: "HeaderPositioning" } - Property { name: "footerPositioning"; revision: 2; type: "FooterPositioning" } - Method { name: "incrementCurrentIndex" } - Method { name: "decrementCurrentIndex" } - Property { name: "model"; type: "QVariant" } - Property { name: "delegate"; type: "QQmlComponent"; isPointer: true } - Property { name: "count"; type: "int"; isReadonly: true } - Property { name: "currentIndex"; type: "int" } - Property { name: "currentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "keyNavigationWraps"; type: "bool" } - Property { name: "keyNavigationEnabled"; revision: 7; type: "bool" } - Property { name: "cacheBuffer"; type: "int" } - Property { name: "displayMarginBeginning"; revision: 2; type: "int" } - Property { name: "displayMarginEnd"; revision: 2; type: "int" } - Property { name: "layoutDirection"; type: "Qt::LayoutDirection" } - Property { name: "effectiveLayoutDirection"; type: "Qt::LayoutDirection"; isReadonly: true } - Property { name: "verticalLayoutDirection"; type: "VerticalLayoutDirection" } - Property { name: "header"; type: "QQmlComponent"; isPointer: true } - Property { name: "headerItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "footer"; type: "QQmlComponent"; isPointer: true } - Property { name: "footerItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "populate"; type: "QQuickTransition"; isPointer: true } - Property { name: "add"; type: "QQuickTransition"; isPointer: true } - Property { name: "addDisplaced"; type: "QQuickTransition"; isPointer: true } - Property { name: "move"; type: "QQuickTransition"; isPointer: true } - Property { name: "moveDisplaced"; type: "QQuickTransition"; isPointer: true } - Property { name: "remove"; type: "QQuickTransition"; isPointer: true } - Property { name: "removeDisplaced"; type: "QQuickTransition"; isPointer: true } - Property { name: "displaced"; type: "QQuickTransition"; isPointer: true } - Property { name: "highlight"; type: "QQmlComponent"; isPointer: true } - Property { name: "highlightItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "highlightFollowsCurrentItem"; type: "bool" } - Property { name: "highlightRangeMode"; type: "HighlightRangeMode" } - Property { name: "preferredHighlightBegin"; type: "double" } - Property { name: "preferredHighlightEnd"; type: "double" } - Property { name: "highlightMoveDuration"; type: "int" } - Signal { name: "populateTransitionChanged" } - Signal { name: "addTransitionChanged" } - Signal { name: "addDisplacedTransitionChanged" } - Signal { name: "moveTransitionChanged" } - Signal { name: "moveDisplacedTransitionChanged" } - Signal { name: "removeTransitionChanged" } - Signal { name: "removeDisplacedTransitionChanged" } - Signal { name: "displacedTransitionChanged" } - Method { - name: "positionViewAtIndex" - Parameter { name: "index"; type: "int" } - Parameter { name: "mode"; type: "int" } - } - Method { - name: "indexAt" - type: "int" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { - name: "itemAt" - type: "QQuickItem*" - Parameter { name: "x"; type: "double" } - Parameter { name: "y"; type: "double" } - } - Method { name: "positionViewAtBeginning" } - Method { name: "positionViewAtEnd" } - Method { name: "forceLayout"; revision: 1 } - Property { name: "contentHeight"; type: "double" } - Property { name: "contentX"; type: "double" } - Property { name: "contentY"; type: "double" } - Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true } - Property { name: "topMargin"; type: "double" } - Property { name: "bottomMargin"; type: "double" } - Property { name: "originY"; type: "double"; isReadonly: true } - Property { name: "leftMargin"; type: "double" } - Property { name: "rightMargin"; type: "double" } - Property { name: "originX"; type: "double"; isReadonly: true } - Property { name: "horizontalVelocity"; type: "double"; isReadonly: true } - Property { name: "verticalVelocity"; type: "double"; isReadonly: true } - Property { name: "boundsBehavior"; type: "BoundsBehavior" } - Property { name: "rebound"; type: "QQuickTransition"; isPointer: true } - Property { name: "maximumFlickVelocity"; type: "double" } - Property { name: "flickDeceleration"; type: "double" } - Property { name: "moving"; type: "bool"; isReadonly: true } - Property { name: "movingHorizontally"; type: "bool"; isReadonly: true } - Property { name: "movingVertically"; type: "bool"; isReadonly: true } - Property { name: "flicking"; type: "bool"; isReadonly: true } - Property { name: "flickingHorizontally"; type: "bool"; isReadonly: true } - Property { name: "flickingVertically"; type: "bool"; isReadonly: true } - Property { name: "dragging"; type: "bool"; isReadonly: true } - Property { name: "draggingHorizontally"; type: "bool"; isReadonly: true } - Property { name: "draggingVertically"; type: "bool"; isReadonly: true } - Property { name: "flickableDirection"; type: "FlickableDirection" } - Property { name: "interactive"; type: "bool" } - Property { name: "pressDelay"; type: "int" } - Property { name: "atXEnd"; type: "bool"; isReadonly: true } - Property { name: "atYEnd"; type: "bool"; isReadonly: true } - Property { name: "atXBeginning"; type: "bool"; isReadonly: true } - Property { name: "atYBeginning"; type: "bool"; isReadonly: true } - Property { - name: "visibleArea" - type: "QQuickFlickableVisibleArea" - isReadonly: true - isPointer: true - } - Property { name: "pixelAligned"; type: "bool" } - Property { name: "flickableData"; type: "QObject"; isList: true; isReadonly: true } - Property { name: "flickableChildren"; type: "QQuickItem"; isList: true; isReadonly: true } - Signal { name: "isAtBoundaryChanged" } - Signal { name: "movementStarted" } - Signal { name: "movementEnded" } - Signal { name: "flickStarted" } - Signal { name: "flickEnded" } - Signal { name: "dragStarted" } - Signal { name: "dragEnded" } - Method { - name: "resizeContent" - Parameter { name: "w"; type: "double" } - Parameter { name: "h"; type: "double" } - Parameter { name: "center"; type: "QPointF" } - } - Method { name: "returnToBounds" } - Method { - name: "flick" - Parameter { name: "xVelocity"; type: "double" } - Parameter { name: "yVelocity"; type: "double" } - } - Method { name: "cancelFlick" } + 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 index b13824c5..e1110f1a 100644 --- a/src/import/qmldir +++ b/src/import/qmldir @@ -1,5 +1,10 @@ module QtQuick.VirtualKeyboard +plugin qtquickvirtualkeyboardplugin +classname QtQuickVirtualKeyboardPlugin typeinfo plugins.qmltypes -depends QtQuick.Layouts 1.1 -depends QtQuick.VirtualKeyboard.Styles 1.1 +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..2b3f08c4 --- /dev/null +++ b/src/import/qtquickvirtualkeyboardplugin.cpp @@ -0,0 +1,149 @@ +/**************************************************************************** +** +** 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"); +} + +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 + |