aboutsummaryrefslogtreecommitdiffstats
path: root/src/import
Commit message (Collapse)AuthorAgeFilesLines
* Add ; to Q_UNUSEDLars Schmertmann2020-07-071-2/+2
| | | | | | | | This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: Ib4bfcab0dfcecabeced78a5ec4389773c2e84a10 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Use QList instead of QVectorJarek Kobus2020-06-091-1/+1
| | | | | | Task-number: QTBUG-84469 Change-Id: I3115f97de5a6514a8400605b06b1b146662a6be4 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Add missing overrideAlexander Volkov2020-05-261-1/+1
| | | | | | Pick-to: 5.15 Change-Id: I52b86c0e5d271ad8d5b2cb6ed6f5d5ae05107deb Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Initial CMake port of QtVirtualKeyboardMÃ¥rten Nordheim2020-05-121-0/+46
| | | | | | | | | | | | | | | | | | | This port makes sure that all the features that are currently tested in the CI are complete and that the tests pass. lipi-toolkit can't be tested since it's currently broken in qmake. Myscript wasn't tested as it is also not tested in coin and the SDK is not available. T9Write wasn't tested as the SDK is not avaialble. Removed outdated src/virtualkeyboard/styles/styles.pro. The styles seem to be in src/styles now. Change-Id: Ibba41d592c51a19dee63840c02a945ec7b1d721e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2020-03-071-8/+8
|\ | | | | | | Change-Id: If92cf9c7dd927cc3b462b0dda5f31a372f61cd1e
| * Refactor desktop-detection logic to become an explicit propertyv5.15.0-beta2Volker Hilsheimer2020-03-031-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | The __isRootPanel internal property was used to detect whether the keyboard is running in as a stand-alone, toplevel window in the desktop. The value of the property depended on the location of the keyboard panel within the QQuickItem hierarchy, which is fragile. Instead, declare an explicit property desktopPanel that is set to true by the desktop integration when the panel has been created. Change-Id: Idb9e90e01e9b1c643e84287716e0b964256b115e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.15' into devQt Forward Merge Bot2019-10-151-100/+475
|\| | | | | | | Change-Id: I6d2d4c8a96b13c059793c5b5d45870b7eb03511a
| * Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-10-121-100/+475
| |\ | | | | | | | | | Change-Id: If4d5635696909af171822695954b2f63d62a2af9
| | * Update plugins.qmltypes for 5.14v5.14.0-beta1Kai Koehne2019-09-301-100/+475
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-78690 Change-Id: I41834ea8b0a9d72cfc20a70c7d373ecb3b42112c Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Merge remote-tracking branch 'origin/wip/qt6' into devSimon Hausmann2019-10-041-2/+3
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Conflicts: .qmake.conf src/import/qtquickvirtualkeyboardplugin.cpp Change-Id: I1f094ac933f1c5b1fd4b59f57ea76d6c1cec3ede
| * | Fix Qt6 buildAlexandru Croitor2019-08-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify all the qmlRegisterModule calls to use minor version 15 because minor version zero from 6.0.0 would make tests fail. This is similar to what was done in qtdeclarative in c147b20a2c1299b2d659fe7c9472ae3866b6a425. Change-Id: Id8102e41cd6b05927338ec062ec7869b24dd9eff Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Merge remote-tracking branch 'origin/5.14' into 5.15Qt Forward Merge Bot2019-09-281-3/+0
|\ \ \ | | |/ | |/| | | | Change-Id: If55f2ab70492e6e356f761f78a6d0cdcdbe11026
| * | Remove incorrect QML singleton registrationJarkko Koivikko2019-09-051-3/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | - Commit 5260805b162030a6900bacf46d2a55b69075ae09 added an incorrect QML singleton registration which will cause duplicate instances of the singleton with application using inconsistent QtVirtualKeyboard imports. - This registration is also unnecessary and can be removed, since the version number is already registered with the other components. Change-Id: I7ef9688d08ca2ec0a697f7de4159140951f096a7 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* / Fix deprecation warnings related to qmlRegisterType()Friedemann Kleint2019-09-051-1/+2
|/ | | | | | | Use qmlRegisterAnonymousType() instead of qmlRegisterType(), fixing: Change-Id: I589ef1aa43f85fbf80d3b4ba03cd3c0422a7aae5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Automatically register the latest import versionv5.13.0-beta3Kai Koehne2019-04-123-2/+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>
* Update plugins.qmltypesv5.12.0-rc2v5.12.0-rc1v5.12.0Kai Koehne2018-11-151-67/+104
| | | | | | Change-Id: I896b8d82a817a1d31cb5b560f72d00b66144c1df Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Qtify new APIMitch Curtis2018-09-272-101/+71
| | | | | | | | | | | | | | | Add "is" to C++ getter functions returning bool (where applicable). Add "Active" to "shift" and "capsLock" QML properties, etc. By making these names more explicit, it's clearer what they do and also future-proofs the API by allowing us to add related properties in the future if necessary. [ChangeLog][InputContext] Deprecated shift and capsLock properties in favor of shiftActive and capsLockActive. Change-Id: I66f2c85b50622a6e5fe6b25fb24f13be27acaf9d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Move QML types registration to import modulesJarkko Koivikko2018-09-066-751/+1064
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Add support for making Trace transparentYuntaek Rim2018-08-161-1/+1
| | | | | | | | | | Added new property "opacity" for Trace. [ChangeLog][Trace] Added opacity property. Change-Id: Ie1cc5fe2567e4223bfc64c67c6ead11e38e46193 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Modularize virtual keyboard and add an extension interfaceJarkko Koivikko2018-08-063-0/+2016
With the extension interface it is possible to add new input method and/or languages without recompiling the Qt Virtual Keyboard plugin itself. The existing input methods are now isolated into plugins. So installing a new input method is a matter of copying the corresponding extension plugin to the plugins/virtualkeyboard directory (and any collateral required by the extension plugin itself). This change also renames the HunspellInputMethod to DefaultInputMethod. This change is necessary because some other extension plugin may want to provide the default input method instead. Implementation plan =================== [x] Create virtualkeyboard-private module [x] Create plugin library [x] Define interface for input method plugin [x] Define interface for keyboard layouts [x] Move existing input methods and layouts to plugins [x] HangulInputMethod [x] HunspellInputMethod [x] Maybe create a private library for sharing between HunspellInputMethod and LipiInputMethod [x] LipiInputMethod [x] OpenWnnInputMethod [x] PinyinInputMethod [x] T9WriteInputMethod [x] TCInputMethod [o] Rename some C++ classes (too generic name?) [x] Think again replacing the QtVirtualKeyboard namespace [x] Update documentation [x] General instructions for creating a plugin [x] For the C++ interfaces too (previously removed) [ChangeLog][Important Behavior Changes] Introduce an extension interface for the virtual keyboard. All the current input methods and some special keyboard layouts (e.g. Hunspell, OpenWnn, etc.) have been moved to extensions. The extension interface allows third party to create a new input method without having to modify or rebuild the virtual keyboard. In addition, this change makes it possible to add features and languages independently by copying the desired extension to the system. [ChangeLog][Important Behavior Changes] Introduce a virtualkeyboard module, which can be linked against an extension plugin. This module provides the C++ API necessary for creating an input method. [ChangeLog][Important Behavior Changes] Wrap the entire virtual keyboard API into Qt namespace (e.g. QT_BEGIN_NAMESPACE/QT_END_NAMESPACE). Task-number: QTBUG-57602 Change-Id: I449f4429109f596a7a1df7517c81f97d4aada27c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>