diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2022-02-17 15:58:43 +0200 |
---|---|---|
committer | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2022-04-07 08:55:55 +0300 |
commit | 4395ca0fdd04d4e8655f2c8765ff229e236bfdc2 (patch) | |
tree | 1a45fcc397731098e612c5285c0baa4d618da62a /src/styles/builtin/default/images/textmode-fff.svg | |
parent | cc7933313d0261454a7d2d69edd0546d26dd9a2c (diff) |
Port qtvirtualkeyboard to declarative type registration
- Port settings plugin to declarative type registration
- Port styles plugin to declarative type registration
- Dissect Components QML module from QtQuick.VirtualKeyboard
Previously the QML components included in this module were located in
the resources of virtualkeyboard Qt module and registered via manual
type registration.
Since migrating away from manual type registration, it is time to move
these components out of the QtQuick.VirtualKeyboard namespace where they
did not belong in the first place. They are implementation detail of the
VirtualKeyboard and the VirtualKeyboard layouts. There is no use for
them outside of this scope.
- Add QtQuick.VirtualKeyboard.Plugins QML module
- Port hangul to declarative type registrations
- Port openwnn to declarative type registrations
- Port tcime to declarative type registrations
- Port thai to declarative type registrations
- Port hunspell to declarative type registrations
- Port pinyin to declarative type registrations
- Port cerence to declarative type registrations
- Port myscript to declarative type registrations
- Add VirtualKeyboardFeatures namespace for feature detection
- Remove QVirtualKeyboardInputContextPrivate::inputMethods property
This is no longer needed (and cannot be supported) because of the new
QML module based extensions model.
Runtime feature detection is happens on the VirtualKeyboardFeatures
namespace.
- Remove Q_VKB_IMPORT_PLUGIN
- Remove extensionloader (replaced with QML modules)
This is no longer needed as all the extensions have been ported to QML
modules.
- Remove QML dependency from platforminputcontext plugin
Since all the extra functionality (extensions, qml types registrations)
have been moved out of this plugin, we can remove the dependency to QML
module too.
- Move keyboard layouts to Layouts plugin (but keep them as resources)
Previously the keyboard layouts were located in the resources of the
QtQuick.VirtualKeyboard plugin. This change moves them to new
QtQuick.VirtualKeyboard.Layouts QML module. This module is loaded by
explicit (qmldir) import at QtQuick.VirtualKeyboard plugin.
We cannot make the layouts as compiled qml, because it will prevent
from using resource path overload currently used by vendor plugins to
override keyboard layouts.
- Move builtin styles to new module QtQuick.VirtualKeyboard.Styles.Builtin
No changes to style loading mechanism - the styles are still loaded
using Loader. The internal resource path for builtin styles changed from
:/QtQuick/VirtualKeyboard/content/styles
to
:/QtQuick/VirtualKeyboard/Styles/Builtin
This has no impact on external users, because it can already specify
custom style path using settings API.
[ChangeLog] Virtual Keyboard extension mechanism was replaced with QML modules.
Previously the virtual keyboard was using plugin mechanism with custom
interface to load extensions. With the introduction of declarative type
registration, this interface became obsolete. All of the existing virtual
keyboard extensions are now registered as standard QML modules, loaded
implicitly by the QtQuick.VirtualKeyboard module. This change does not impact
the users of the virtual keyboard public API.
Task-number: QTBUG-100783
Fixes: QTBUG-92212
Fixes: QTBUG-100705
Fixes: QTBUG-95680
Fixes: QTBUG-95660
Change-Id: Id2f87670d2678fa0b18bae56ee172bf206d99d3a
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/styles/builtin/default/images/textmode-fff.svg')
-rw-r--r-- | src/styles/builtin/default/images/textmode-fff.svg | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/styles/builtin/default/images/textmode-fff.svg b/src/styles/builtin/default/images/textmode-fff.svg new file mode 100644 index 00000000..bdb144cd --- /dev/null +++ b/src/styles/builtin/default/images/textmode-fff.svg @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="Layer_1" + x="0px" + y="0px" + width="124" + height="124" + viewBox="0 0 124 124" + enable-background="new 0 0 124 96" + xml:space="preserve" + sodipodi:docname="textmode-868482.svg" + inkscape:version="1.0.2-2 (e86c870879, 2021-01-15)"><metadata + id="metadata25"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs23" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1920" + inkscape:window-height="1055" + id="namedview21" + showgrid="false" + inkscape:zoom="8.4112903" + inkscape:cx="62" + inkscape:cy="48" + inkscape:window-x="-7" + inkscape:window-y="-7" + inkscape:window-maximized="1" + inkscape:current-layer="Layer_1" /> +<g + id="g18" + transform="translate(0,14)"> + <g + id="g14"> + <g + id="g6"> + <path + fill="#ffffff" + d="M 55.4,70.8 46.9,49 H 19.4 L 11,70.8 H 2.9 L 30,2 h 6.7 l 27,68.8 z m -11,-29 -8,-21.2 c -1,-2.7 -2.1,-6 -3.2,-9.9 -0.7,3 -1.7,6.3 -3,9.9 l -8.1,21.2 z" + id="path2" /> + <path + fill="#ffffff" + d="M 66.6,72.8 H 54.1 L 45.5,51 H 20.8 L 12.4,72.8 H 0 L 28.7,0 h 9.4 z m -9.8,-4 h 4 L 35.4,4 h -1.9 l 1.7,6.2 c 1.1,3.8 2.1,7.1 3.1,9.7 l 9,24 h -28 L 28.4,20 c 1.2,-3.5 2.2,-6.7 2.9,-9.6 L 32.8,4 H 31.4 L 5.9,68.8 H 9.7 L 18.1,47 h 30.2 z m -31.7,-29 h 16.4 l -7,-18.5 c -0.4,-1.1 -0.8,-2.2 -1.2,-3.4 -0.4,1.1 -0.7,2.2 -1.2,3.4 z" + id="path4" /> + </g> + <g + id="g12"> + <path + fill="#ffffff" + d="m 116.2,70.8 -1.5,-7.3 h -0.4 c -2.6,3.2 -5.1,5.4 -7.7,6.5 -2.6,1.1 -5.7,1.7 -9.5,1.7 -5.1,0 -9.1,-1.3 -12,-3.9 -2.9,-2.6 -4.3,-6.4 -4.3,-11.2 0,-10.4 8.3,-15.8 24.9,-16.3 l 8.7,-0.3 v -3.2 c 0,-4 -0.9,-7 -2.6,-8.9 C 110.1,26 107.3,25 103.5,25 99.2,25 94.4,26.3 89,28.9 l -2.4,-6 c 2.5,-1.4 5.3,-2.5 8.3,-3.2 3,-0.7 6,-1.2 9.1,-1.2 6.1,0 10.7,1.4 13.6,4.1 2.9,2.7 4.4,7.1 4.4,13.1 V 70.8 Z M 98.7,65.3 c 4.8,0 8.6,-1.3 11.4,-4 2.8,-2.7 4.1,-6.4 4.1,-11.2 v -4.6 l -7.8,0.3 C 100.2,46 95.8,47 93,48.7 c -2.8,1.7 -4,4.4 -4,8 0,2.8 0.9,5 2.6,6.4 1.7,1.4 4,2.2 7.1,2.2 z" + id="path8" /> + <path + fill="#ffffff" + d="m 97.1,73.8 c -5.6,0 -10.1,-1.5 -13.3,-4.5 -3.3,-3 -5,-7.3 -5,-12.7 0,-11.6 9,-17.8 26.8,-18.3 l 6.8,-0.2 v -1.3 c 0,-3.5 -0.7,-6.1 -2.1,-7.6 -1.3,-1.5 -3.6,-2.2 -6.8,-2.2 -4,0 -8.6,1.3 -13.7,3.7 l -1.9,0.9 -3.9,-9.5 1.6,-0.8 c 2.7,-1.4 5.6,-2.6 8.8,-3.4 3.2,-0.8 6.4,-1.2 9.6,-1.2 6.6,0 11.7,1.6 15,4.6 3.4,3.1 5.1,8 5.1,14.5 v 37.1 h -9.4 l -1.1,-5.3 c -2,2 -4,3.5 -6,4.4 -2.9,1.1 -6.4,1.8 -10.5,1.8 z M 103.5,23 c 4.4,0 7.7,1.2 9.8,3.5 2.1,2.3 3.1,5.7 3.1,10.3 V 42 l -10.7,0.3 c -23,0.7 -23,10.9 -23,14.3 0,4.3 1.2,7.5 3.7,9.7 2.5,2.3 6.1,3.4 10.6,3.4 3.5,0 6.4,-0.5 8.7,-1.5 2.2,-1 4.6,-3 6.9,-6 l 0.6,-0.8 h 2.6 l 0.7,1.6 1.2,5.7 h 2.1 V 35.8 c 0,-5.4 -1.3,-9.3 -3.8,-11.6 -2.6,-2.4 -6.7,-3.5 -12.3,-3.5 -2.8,0 -5.7,0.4 -8.6,1.1 -2.2,0.6 -4.3,1.3 -6.3,2.3 l 0.9,2.3 C 94.9,24.1 99.4,23 103.5,23 Z m -4.8,44.3 c -3.5,0 -6.4,-0.9 -8.5,-2.7 C 88,62.8 87,60.1 87,56.7 c 0,-4.3 1.7,-7.6 5,-9.6 3.1,-1.9 7.8,-3 14.4,-3.2 l 9.9,-0.4 v 6.7 c 0,5.3 -1.6,9.6 -4.8,12.6 -3.2,3 -7.5,4.5 -12.8,4.5 z m 13.5,-19.7 -5.7,0.2 c -5.8,0.2 -10,1.1 -12.4,2.6 -2.1,1.4 -3.1,3.4 -3.1,6.3 0,2.2 0.6,3.8 1.9,4.9 1.3,1.1 3.3,1.7 5.8,1.7 4.3,0 7.6,-1.1 10,-3.4 2.4,-2.3 3.5,-5.5 3.5,-9.7 z" + id="path10" /> + </g> + </g> + <rect + y="88" + fill="#ffffff" + width="124" + height="8" + id="rect16" + x="0" /> +</g> +</svg> |