aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/doc/src
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Update reference to 'Pure QML' exampleTopi Reinio2023-09-061-3/+4
| | | | | | | | | | | | | | | The 'Pure QML' example compositor in Qt Wayland has been renamed to 'Fancy Compositor'. Split the long snippet code line for starting the compositor for better readability. Mark the module clear of documentation warnings. Pick-to: 6.6 Change-Id: I6e07fa2f7a54820613760e98dd501821e0afb3b5 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
* Doc: Add \examplecategory to qtvirtualkeyboardSafiyyah Moosa2023-08-291-0/+1
| | | | | | | Task-number: QTBUG-116332 Pick-to: 6.5 6.6 Change-Id: Ic31ba41f6c63fd59acc9199064d18849565b99ad Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Doc: List of all Qt overviews which are now termed as explanationJaishree Vyas2023-07-241-1/+1
| | | | | | | | | | | | The autogenerated list of overviews was adding the \group command which included all the groups instead of overviews. The idea here is to categorize the overviews later on once we have the list of all overviews. Task-number: QTBUG-114762 Pick-to: 6.5 6.6 Change-Id: I3f6f0d88b5d21ac128c74d56c136c0d00368626c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add a DocBook version of custom svg imagesLuca Di Sera2023-06-141-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | QDoc provides a "\raw" command that allows a user to inject format-specific code that complements the code that QDoc generates. The "\raw" command expect the user to provide a "format" argument to ensure that the provided code is generated only for the format that is written for. Due to a bug in QDoc DocBook generation, the DocBook documentation was generating, sometimes incorrectly, "\raw" commands intended for the HTML format. The Qt virtual keyboard documentation uses the "\raw HTML" commands to provide some custom SVGs. Due to the aforementioned bug, QDoc was generating some equivalent code for DocBook, albeit no user-provided DocBook equivalent existed. As the bug is now being fixed, the DocBook documentation for virtual keyboard will lose the custom SVGs in its output. To preserve the SVGs for when generating DocBook documentation, an equivalent "\raw DocBook" command is now provided. Change-Id: I272163cd88b133e07fb790293baa9d4833429087 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Doc: Fix links to Supported Languages sectionVolker Hilsheimer2023-06-111-2/+2
| | | | | | Pick-to: 6.6 Change-Id: Ic31e435a9a46821330f0d18fac3780aa20ccfae5 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Add example handwriting pluginJarkko Koivikko2023-05-092-2/+10
| | | | | | | | | | | | | | This can be used for demonstration and development purposes. The plugin is enabled by defining -DINPUT_vkb_handwriting:STRING=example-hwr In the cmake command line. Task-number: QTBUG-113024 Change-Id: I05fd8dab88ea4f0d040c39836f55dcd52bc3e332 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* doc: Fix qdoc warning after Wayland Compositor changeEskil Abrahamsen Blomfeldt2023-03-011-2/+1
| | | | | | | | | | The compositor examples no longer include the module name in the title. Pick-to: 6.5 Change-Id: I90b5974b53c46dabde1f2f0288310bec9480c7c9 Reviewed-by: Inho Lee <inho.lee@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Rename and tag exampleVolker Hilsheimer2023-02-241-2/+3
| | | | | | | | No need to use the module name or the term "example" in the title. Pick-to: 6.5 Change-Id: I47e78bdaabe16d8d81314d0b62ffd2e01a3bdce5 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Doc: Revise Qt Virtual Keyboard module landing pageAndreas Eliasson2023-01-263-51/+61
| | | | | | | | | | | | | * Add CMake and qmake sections. * Make the technical guide an overview; It's not really a guide. * Move general info from the landing page to the overview page. * Move sections to make the landing page consistent with other modules. * Make minor punctuation fixes. Fixes: QTBUG-105592 Pick-to: 6.5 6.4 6.2 Change-Id: I7a1358c93841f63702c88ab796da14b8799ce0d7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Fix ambiguous linksAndreas Eliasson2022-11-222-2/+3
| | | | | | | | | | I believe the link is supposed to go to the Advanced Usage page in the qmake manual. Fixes: QTBUG-108396 Pick-to: 6.4 6.2 Change-Id: Ib5d2098afd7c88a4f90f99359968337febce9e50 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Doc: Improve locale section of technical guidePaul Wicking2022-10-211-27/+49
| | | | | | | | | | | | * Clarify the layout fallback mechanism. * Rewrite parts of the text to improve legibility and reduce use of passive voice. Pick-to: 6.4 6.2 5.15 Fixes: QTBUG-105371 Change-Id: I062579bec6a2780b36dcdd9cf5c2b0f07a9c7801 Reviewed-by: Tuomas Vaarala <tuomas.vaarala@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Add brief description for QtVirtualKeyboard namespaceKai Köhne2022-07-181-0/+1
| | | | | | | Pick-to: 6.4 Change-Id: I69af8f37763547bd5efcc23562de8758d62aa07e Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-1412-312/+24
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Iaeb3cb05cd781031a35e40f712805fa265116076 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Fix links to "QML Import Path" sectionKai Köhne2022-06-131-1/+1
| | | | | | | | | qmake documentation happens to have a QML_IMPORT_PATH target. Make sure we actually link to the section in Qt Qml. Pick-to: 6.4 Change-Id: I0db5fa18ea6b931b44af381a141a6a5bafcf9c86 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Update documentationJarkko Koivikko2022-04-257-308/+301
| | | | | | | Task-number: QTBUG-100783 Change-Id: If48efba10aa9cfd856e54b0a8154c1a78389d5a9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* Port qtvirtualkeyboard to declarative type registrationJarkko Koivikko2022-04-072-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* Doc: Mention plugin dependencies in the deployment guideTopi Reinio2021-11-081-8/+18
| | | | | | | | | | | | | | | As the plugin can be used also in widgets-based application, discuss the deployment of required libraries for such applications. Replace the qmake-specific notation in listed paths to make the guide build-system agnostic, and remove specific mentions of the major Qt version. Pick-to: 6.2 5.15 Fixes: QTBUG-96578 Change-Id: I92f1a67b0cab0cbd046c7d4ab90519a8acd59e8f Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Add a section for using the module with CMakeVenugopal Shivashankar2021-09-131-1/+9
| | | | | | | | | All the Qt module pages for C++ offer info. about using the module with CMake and qmake. Pick-to: 6.2 Change-Id: I0f9dcd76ef5e6da16102797af6b0eea058d62f3b Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Doc: Fix qdoc warningsVenugopal Shivashankar2021-09-091-1/+1
| | | | | | | | | | | | | The following warnings were fixed: - src/styles/KeyboardStyle.qml:531: (qdoc) warning: Can't link to 'QtVirtualKeyboard.KeyboardFunction' - src/virtualkeyboard/doc/src/xt9.qdoc:28: (qdoc) warning: Can't link to 'VirtualKeyboardSettings::VirtualKeyboardSettings.defaultDictionaryDisabled' Task-number: QTBUG-96255 Pick-to: 6.2 Change-Id: I634ed1e1a9531544c9ba941d85803b72e69c16d9 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* [MyScript] Add CMake script for building MyScript HWR pluginYuntaek RIM2021-09-032-15/+43
| | | | | | | Pick-to: 6.2 Change-Id: Ia1857d967f7dbe99ae8b95c25fc2630551943682 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Yuntaek Rim <yuntaek.rim@myscript.com>
* Doc: Fix qdoc warningsVenugopal Shivashankar2021-08-231-4/+6
| | | | | | | | | | | | | | The following warnings are fixed: qt5/qtvirtualkeyboard/src/styles/KeyboardStyle.qml:531: (qdoc) warning: Can't link to 'QtVirtualKeyboard.KeyboardFunction' qt5/qtvirtualkeyboard/src/virtualkeyboard/content/InputPanel.qml:83: (qdoc) warning: Can't link to 'QtQml::Qt::locale()' qt5/qtvirtualkeyboard/src/virtualkeyboard/doc/src/xt9.qdoc:28: (qdoc) warning: Can't link to 'QVirtualKeyboardDictionaryManager' qt5/qtvirtualkeyboard/src/virtualkeyboard/doc/src/xt9.qdoc:28: (qdoc) warning: Can't link to 'VirtualKeyboardSettings.defaultDictionaryDisabled' Task-number: QTBUG-95860 Pick-to: 6.2 Change-Id: I34be6017bca7e1bd4cf1d8850181a72dec70e068 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Doc: Fix link errors Qt VirtualkeyboardNico Vertriest2021-08-122-2/+2
| | | | | | | | Corrected link to qmake advanced configuration options. Pick-to: 6.1 6.2 Change-Id: Ia69f48c0a629bad1f24af9838ecf767d21bcc03d Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Add Cerence HWR and Cerence XT9 extension pluginsJarkko Koivikko2021-06-035-125/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cerence SDK enables two extension plugins for the Qt Virtual Keyboard. - Cerence HWR: Handwriting extension know previously as T9 Write - Cerence XT9: Advanced keyboard extension, supporting various languages This commit removes the previous T9 Write extension and reintroduces it as the Cerence HWR extension. This commit also adds the Cerence XT9 as a new feature. The Cerence HWR can also utilize the XT9 for some additional features. Here is a list of changes made to the handwriting extension: - Move the T9 Write extension to the general "cerence" directory, which allows data and code to be shared between T9 Write and XT9. - Update unpack.py to match the latest Cerence SDK. Drop support for legacy delivery rules, as they interfere with the latest SDK. - Alphabetic API was renamed from decuma* to decumaUcr at version number 21 - Add extra parameter to BeginArcAddition and set bMinimizePreProcessing to 1 to avoid defining the parameter. - Do not pass the support lines to engine as they are not supported/needed. For example, the latest CJK SDK returns error when the support lines are defined. - Remove reference to decumaFunctionalSupport.h, which is not part of the official SDK. As a consequence, disable support for recognition interrupt, which is not critical feature anyway. - Fix several compiler warnings. - Enable UCR mode for new languages. - Filter out duplicate candidates (after case formatting) - Use handwriting recognition timeout setting - Check and recover from an init failure when UCR not supported - Use common dictionary management with XT9 - Add user defined search path for HWR db QT_VIRTUALKEYBOARD_T9WRITE_DB_PATH - Use generic dictionary API - Add user dictionary (DLM) - Limit too many simultaneous input - Add support for the latest SDK (removed support from previous versions of the SDK) - Add support for background recognition supported by the engine. This improves latencies and removes delays in certain situations. - Clear old traces from screen after specified delay. Previously, old traces were cleared from the screen based on the information from the engine to identify strokes of the recognized characters. Unfortunately, the engine does not provide this information at the same detail in UCR mode. This change introduces a timer-based approach, where traces are removed after a specified time, calculated from the recognition result. This time can be adjusted in the virtual keyboard settings. - Add auto correction for alphabetic languages - Add predictions from custom dictionary (XT9 Nav) - Fix language id mapping between Qt6 QLocale::Language and Cerence HWR. Change-Id: Iff4daea67cbb8adee1caf2e9513198482da48a38 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Replace "Qt 5" with "Qt"Volker Hilsheimer2021-05-041-2/+2
| | | | | | Pick-to: 6.1 Change-Id: I7521b539ad38af5ba2845f2ce097e5e20dcbd041 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Don't use deprecated QLibrary::location, use path insteadVolker Hilsheimer2021-03-251-5/+5
| | | | | | | Silence compiler warnings. Change-Id: I9b98a118193a9eceaf49a33552236b15cb9401e9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* CMake: Fix pinyin and tcime resource bundlingJarkko Koivikko2021-03-051-2/+2
| | | | | | | | | | | | | | | | | | | | | Fix incorrect path in the generated resource file and add missing dictionary files to tcime bundle. Fix CMake command line options vkb-no-bundle-pinyin and vkb-no-bundle-tcime. Fix initialization order of resource files: env, local, resource. It was previously: env, resource, local. It is now possible to override resource files by placing local files to data directory. [ChangeLog] Added vkb- prefix to no-bundle-pinyin no-bundle-tcime command line options (e.g. vkb-no-bundle-pinyin) and restored them as part of configuration. Pick-to: 6.1 Change-Id: I80d1d9091daa9676c655c507d01ed55c03685ae0 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add new key type FlickKey v2Jarkko Koivikko2021-01-291-0/+1
| | | | | | | | | | | | | This key is typically used in Japanese keyboard layouts. It allows entering up to four alternative characters using flick gesture. [ChangeLog] Added a new key type FlickKey. v2: Update CMake project Change-Id: Icc1ffc484fed0611bf9982a6cc33ed5ac0c03f55 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Drop lipi-toolkitJarkko Koivikko2021-01-155-37/+7
| | | | | | | | Since it has not been maintained, it has become a burden in Qt6. Fixes: QTBUG-90297 Change-Id: I41a7045640272881cab003167f1671fbb019f9a6 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix include of example .pro fileAndreas Buhr2020-12-091-1/+1
| | | | | | | | | | There was a skipto command referring to a line which has been removed long ago. This patch modifies the skipto to command to the new content. Task-number: 88533 Change-Id: I2539f75b2737b4ae3d17d5cf37b1e108e92e63f3 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Doc: Update docs with cmake package informationNico Vertriest2020-06-261-0/+1
| | | | | | Task-number: QTBUG-85179 Change-Id: I76fe11e6ce74fba9e44f438bc5625e664486204e Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Move qtvirtualkeyboard over to the new configure systemLeander Beernaert2020-04-081-121/+80
| | | | | | | | | | | | | | | | | | | | | Adjust configuration from passing lots of CONFIG+=... on the qmake command line to proper command line arguments. Add configure tests for external libraries we might end up using. Adjusted the build documentation to reflect the new way of configuring. Replace all custom HAVE_FOO feature defines with proper QT_CONFIG() checks. This patch does not handle the options -disable-hunspell, -no-bundle-ctime and -no-bundle-pinyin as they are not a necessity to properly support the CMake port and can be added later. [ChangeLog][Important Behavior Changes] The build system was switched to the new configure system. See documentation for updated instructions. Change-Id: I52f863a4d0217bde38fa3fc5e5967b7d8dcb06e0 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: Remove \contentspage commandsTopi Reinio2020-03-155-5/+0
| | | | | | | | The command is deprecated and has no effect apart from generating a documentation warning. Change-Id: Id0f3267cd790a112ad4321d3788149e28e1b391f Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Enable virtualkeyboard key events and shiftkey without focusMikko Seppänen2019-06-201-0/+6
| | | | | | | | | | | | | | | | This patch enables creation of virtual keyboard that functions with all X11 applications, including the ones that do not provide focus information from text input fields. The patch introdudes usage of an environment variable. When this variable is set, virtualkeyboard shift key is enabled and virtualkeyboard is able to send key events without a focus object. [ChangeLog] Added QT_VIRTUAL_KEYBOARD_FORCE_EVENTS_WITHOUT_FOCUS environment variable to allow Qt Virtual Keyboard to send key events and enable Shift key without a focused input object. Change-Id: I89b3cff0f019a12daf6c6b0474b39758ffea7c65 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add environment variable for disabling desktop method integrationDmitriy Yatmanov2019-05-131-1/+5
| | | | | | | | | | | Don't create instance of DesktopInputPanel if variable QT_VIRTUALKEYBOARD_DESKTOP_DISABLE is set. In this case we can use only application integration method without recompiling with CONFIG+=disable-desktop. Change-Id: I935880174b7928a4dd7a4ff9ff21b6f27b5fead6 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Automatically register the latest import versionv5.13.0-beta3Kai Koehne2019-04-121-6/+6
| | | | | | | | | | | | | This follows what was done in d28c9f6a for Qt Quick Controls 2. The latest import version (e.g. 2.14 in Qt 5.14) will automatically be registered whenever the Qt version is bumped. This avoids needing to wait until a new type is added (or a new revision is added to an existing type) before being able to use the newest Qt Quick version. Change-Id: Ic2b59f50bfae8fed5148eae9596578adb0aadb52 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Document Qt::WA_AcceptTouchEvents requirement when using QQuickWidgetMitch Curtis2019-03-211-0/+7
| | | | | | | | | | | On touch devices, it's necessary to set this attribute on the widget to ensure that touch events don't get sent as mouse events. This apparently became necessary after 41293196. Change-Id: I6371efa4bce561aa7e21b240c862d8b1e0fc2950 Fixes: QTBUG-67018 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix incorrect qdoc syntax in Handwriting documentationThibaut Cuvelier2019-03-051-2/+2
| | | | | | | | \MyScript instead of MyScript Fixes: QTBUG-74191 Change-Id: I6454a079b979e40a24b5a8cfa81550fa87ce1ce3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Fix documentation issuesTopi Reinio2019-01-041-1/+1
| | | | | | | | | | | This commit fixes multiple documentation warnings - typos, missing documentation, missing \internal specifiers, linking problems and incorrect documentation configuration which caused Clang to fail to build a precompiled header for QtVirtualKeyboard. Change-Id: I33baf730a98747842a7813bb6ea3a3545927410b Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Martin Smith <martin.smith@qt.io>
* Doc: Update MyScript contact email addressTopi Reinio2018-11-261-1/+1
| | | | | | Change-Id: I60ee3a385fee98130434657b88663d4ddd1e50dc Reviewed-by: Yuntaek Rim <yuntaek.rim@myscript.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* myscript: document updatev5.12.0-beta1Yuntaek Rim2018-09-302-0/+114
| | | | | Change-Id: Iccddb8d9492a3c13de7b1b9d3a6f7dd68b5f86f1 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Merge remote-tracking branch 'origin/5.11' into 5.12Qt Forward Merge Bot2018-09-251-1/+1
|\ | | | | | | Change-Id: I8aab893466cfc476a4017b082700cfe4cb678dcd
| * Doc: Use correct image in virtual keyboard layout docsPaul Wicking2018-09-241-1/+1
| | | | | | | | | | | | Task-number: QTBUG-70602 Change-Id: I04a7015b6ee41dd9676f8b5859399e9758e7de1f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | myscript: modify build.qdoc for MyScript descriptionv5.12.0-alpha1Yuntaek Rim2018-09-121-10/+10
| | | | | | | | | | Change-Id: Id6df1b07f3be2d09f2ab1ed832be1b2e09278df4 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | Move QML types registration to import modulesJarkko Koivikko2018-09-061-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Doc: Divide long lists into several columnsTopi Reinio2018-08-302-31/+48
| | | | | | | | | | | | | | This preserves space and improves readability Change-Id: I22b6d8f8e333b7b3cc74c22be80b21d74fdfe7ed Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-08-302-11/+46
|\| | | | | | | | | | | | | | | Conflicts: src/virtualkeyboard/doc/qtvirtualkeyboard.qdocconf src/virtualkeyboard/platforminputcontext.cpp Change-Id: I3056b9cd19eb6c38fac1ad73eaac1945d816cc57
| * Doc: improve integration documentation, especially regarding WaylandMitch Curtis2018-08-232-11/+46
| | | | | | | | | | | | Change-Id: Id27ebb78001ff060d67917e9ac69f75682a885ac Reviewed-by: Johan Helsing <johan.helsing@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* | Use enum class in the public APIJarkko Koivikko2018-08-281-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was suggested in the API review. All the "old" enums are backwards compatible in QML, since unscoped values are enabled by default. Added the following new enum values maintaining compatibility (in QML): - QVirtualKeyboardInputEngine::PatternRecognitionMode::None (same as PatternRecognitionDisabled) - QVirtualKeyboardInputEngine::PatternRecognitionMode::Handwriting (same as HandwritingRecoginition) - QVirtualKeyboardSelectionListModel::Role::Display (same as DisplayRole) - QVirtualKeyboardSelectionListModel::Role::WordCompletionLength (same as WordCompletionLengthRole) Renamed the following enum values (new in 5.12): - QVirtualKeyboardSelectionListModel::Role::Dictionary (was DictionaryTypeRole) - QVirtualKeyboardSelectionListModel::Role::CanRemoveSuggestion (was CanRemoveSuggestionRole) - QVirtualKeyboardSelectionListModel::DictionaryType::Default (was DefaultDictionary) - QVirtualKeyboardSelectionListModel::DictionaryType::User (was UserDictionary) Added missing Q_DECLARE_METATYPE for: - QVirtualKeyboardInputEngine::PatternRecognitionMode - QVirtualKeyboardInputEngine::ReselectFlag - QVirtualKeyboardSelectionListModel::DictionaryType The enums can be found in: - src/virtualkeyboard/qvirtualkeyboardinputengine.h - src/virtualkeyboard/qvirtualkeyboardselectionlistmodel.h Added a test case for verifying QML enum values. Change-Id: I16749af71aadd762e9c303b5c682b2888afaa672 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Remove QtVirtualKeyboard namespace from the public APIJarkko Koivikko2018-08-271-27/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes the QtVirtualKeyboard namespace from the public API. This change was suggested in the API review. Use of namespace is uncommon in a public Qt module. Prefixed names are preferred instead. [ChangeLog] Removed QtVirtualKeyboard namespace from the public C++ API and prefixed class names with QVirtualKeyboard. The new class names are QVirtualKeyboardAbstractInputMethod, QVirtualKeyboardInputContext, QVirtualKeyboardInputEngine, QVirtualKeyboardSelectionListModel and QVirtualKeyboardTrace. Change-Id: I52d35090b544dc7e8c8c8e5632ce24c455730755 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Doc: add more layout screenshotsMitch Curtis2018-08-212-2/+19
| | | | | | | | | | | | | | Task-number: QTBUG-69851 Change-Id: I83fe1035df117f3a018e05c725032616f49e8996 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>