aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/inputengine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta4Liang Qi2017-10-301-2/+1
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I471b847231e6c09a79d8f0b1695a15b4651839da
| * SelectionListModel: Fix use after freeMitch Curtis2017-09-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Calling InputEngine::setInputMethod(null) did not clear the pointer value stored in SelectionListModelPrivate. Also, in case the input method is destroyed without setting it null, prevent use of dangling pointer in selection list model by using QPointer. Task-number: QTBUG-61308 Change-Id: If340d99a63489c54414497c61cd482e06a21c5ee Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Hebrew keyboard layoutJarkko Koivikko2017-08-241-0/+3
| | | | | | | | | | | | | | [ChangeLog] Added Hebrew keyboard layout. Change-Id: I7779db4e5ac3c5a99937a0d7b7e572db65f0d811 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Arabic handwritingJarkko Koivikko2017-08-211-0/+3
| | | | | | | | | | | | | | [ChangeLog] Added Arabic handwriting. Change-Id: Ica0601da2df262369159415d28fdb183e6f63736 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Bulgarian keyboard layoutJarkko Koivikko2017-08-071-0/+3
| | | | | | | | | | | | | | [ChangeLog] Added Bulgarian keyboard layout. Change-Id: I636ba97d3fe80c94f91b269426465023a433d7bf Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Greek keyboard layoutJarkko Koivikko2017-08-071-0/+3
| | | | | | | | | | | | | | [ChangeLog] Added Greek keyboard layout. Change-Id: I56a15ebcf58c768d8f544654cb8a17a77c743e3f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add support for Japanese handwriting (T9 Write CJK)Jarkko Koivikko2017-07-081-0/+1
| | | | | | | | | | | | | | This change adds handwriting support for Japanese. Change-Id: Ifc8f0e32c8b3211c13aee8be5cb2e05fae09d3b7 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add support for Korean handwriting (T9 Write CJK)Jarkko Koivikko2017-07-081-0/+1
| | | | | | | | | | | | | | This change adds handwriting support for Korean. Change-Id: I77eb322020c39259d9609051100c40b271a62c04 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add support for T9 Write CJKJarkko Koivikko2017-07-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for handwriting in Simplified Chinese. The integration is based on T9 Write CJK SDK v7.8.1. [ChangeLog] Added support for CJK (Chinese/Japanese/Korean) handwriting via T9 Write. Change-Id: I18481cfd897987ecb471c49ecfcac62ea0c3489c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | Fix InputEngine::inputModes notificationJarkko Koivikko2017-05-221-18/+41
|/ | | | | | | | | | | | The inputModes property was not notified properly when updated. This change adds value cache and update function for the property. Currently this property is not tracked by anything, so the bug was not noticed. Change-Id: Ic9e562c6e6c8f508e56f115981a52314bef05535 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Automatically hide word candidate listJarkko Koivikko2017-01-201-28/+39
| | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for automatically hiding word candidate list when inactive. This feature includes the following enhancements: - Added new settings: * VirtualKeyboardSettings.wordCandidateList.autoHideDelay * VirtualKeyboardSettings.wordCandidateList.alwaysVisible - Automatic hiding of word candidate list when inactive and when autoHideDelay elapsed. - alwaysVisible setting restores the old functionality. - Added new signal selectionListsChanged() to input method, allowing the input method to dynamically allocate or deallocate selection lists. - HunspellInputMethod does not allocate selection list when dictionary cannot be loaded, or Qt::ImhNoPredictiveText is enabled. Also, it will no longer use pre-edit text in this case. - OpenWnnInputMethod does not allocate selection list if not needed. [ChangeLog] Automatically hide word candidate list when inactive. Change-Id: Ifa95ae8a7c47a96719ffdc2929601ff2ef9c0d2e Reviewed-by: Gordan Markus <gordan.markus@pelagicore.com> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Mark the remaining C++ API \internalLeena Miettinen2016-10-141-0/+2
| | | | | | | | | | - Hide the C++ classes entry from the help file (.qdocconf) - Remove link to the C++ classes from the module front page - Mark classes and namespace \internal - Mark the C++ module page \internal Change-Id: I07b04af84b45d048c5cbb133bd5d70f8b38f25dd Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
* Doc: Use standard documentation structure for the moduleLeena Miettinen2016-10-131-1/+1
| | | | | | | | | | | | | | | | | - Link to separate QML types and C++ classes topics from front page (instead of listing the types there) - Turn the \page topic that lists all QML types into the \qmlmodule topic for the module - Add a \module topic to list C++ classes - Add \ingroup, \title, and \brief commands to \qmlmodule topics to display the docs correctly in tables - Add standard content to \qmlmodule topics - Remove unused \qmlmodule topics - Fix \inmodule commands as necessary Change-Id: I6f6538264fff2ad38994114a2fed7212495a18c2 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
* Remove 'enterprise' from QML imports and QRC prefixesMitch Curtis2016-04-261-8/+8
| | | | | | | | | [ChangeLog] Renamed QML import from "import QtQuick.Enterprise.VirtualKeyboard" to "import QtQuick.VirtualKeyboard", as the module is now open-source. Change-Id: I240a3c1b598ca4aa41d2aad02b6e548622308833 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Don't perform lookup twice with associative containersAnton Kudryavtsev2016-03-221-7/+10
| | | | | Change-Id: I58be9a4e57ed1cc8d9aaf6c26be517263f8c73c3 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* InputEngine: enable (N)RVO for gccAnton Kudryavtsev2016-03-101-4/+4
| | | | | Change-Id: I5791a1c1a5cecd742e4f8f5760ca2fceafb43dc1 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Use reserve() to optimize memory allocationAnton Kudryavtsev2016-03-101-0/+2
| | | | | Change-Id: I88bdcc17a2d41e39a0e7abf567fe419f3bde87e7 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Replace foreach with range-based forAnton Kudryavtsev2016-03-101-6/+5
| | | | | | | | | | | Use qAsConst to prevent detaching where it's needed. qAsConst is not acceptable for rvalues, therefore catch them by const auto. Result: reduce text size. Change-Id: If773827f24dc5a45c264ad2ed6060c1a99720040 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* License updateKalle Viironen2016-01-121-9/+17
| | | | | | Change-Id: I0dc6af72a3ae52a0b97b704df84fb1a8197aeeb8 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Add Zhuyin input method for Traditional ChineseJarkko Koivikko2015-11-271-0/+3
| | | | | | | | | | | | | Zhuyin can be enabled with CONFIG+=tcime or CONFIG+=zhuyin qmake flags. Note that CONFIG+=tcime enables both Cangjie and Zhuyin input methods. You can also enable the Cangjie input method with CONFIG+=cangjie, in which case the Zhuyin input method will not be activated, unless the config contains CONFIG+=zhuyin also. Change-Id: Iddea01f3e3d7f1dafff80e17da5b7cf89d4cfc55 Task-number: QTRD-3726 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Refactor class namesJarkko Koivikko2015-10-281-0/+965
Since the virtual keyboard C++ interface is wrapped inside a namespace, it is possible to get rid of "Declarative" name in the class names, that would otherwise conflict with the QML namespace in the documentation. - Rename DeclarativeSettings to VirtualKeyboardSettings - Remove "Declarative" from class names The rationale for this change is that the name Declarative refers to now obsolete QtQuick1 module. Also, the class names are now the same in C++ and QML name spaces. Change-Id: Ide050d47110443d894d95d35dddf0df5891587be Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>