aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/plaininputmethod.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-7/+11
| | | | | | | [ChangeLog] Added Greek keyboard layout. Change-Id: I56a15ebcf58c768d8f544654cb8a17a77c743e3f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* 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>
* Refactor class namesJarkko Koivikko2015-10-281-10/+10
| | | | | | | | | | | | | | | | | 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>
* Wrap C++ API into namespaceJarkko Koivikko2015-10-271-0/+9
| | | | | | | | | | | | | | | This change wraps the entire C++ API into namespace. In practice, all the C++ interfaces inside the qtvirtualkeyboard plugin are private, except the QPlatformInputContext plugin API. Even the AbstractInputMethod and AbstractInputPanel are not really a public in the sense that they could be used outside the plugin. At least it does not make sense, since there is no way to extend the virtual keyboard functionality without recompiling the plugin. Task-number: QTRD-3628 Change-Id: I1037ee247abca3219efeaa4e4150baaff7c3d668 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* License Headers UpdateKalle Viironen2015-10-261-9/+12
| | | | | Change-Id: Iba2bd21b95dde1aac5750ac77856716e0c61e577 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* Correct license headers.Mitch Curtis2015-09-151-10/+10
| | | | | | | | | | Using the commercial template found here: https://wiki.it.local/display/QTCOM/Header+templates+to+be+used+in+Qt+Code Change-Id: If401d8fa3ff4dab6ea1e74477d5c02b5dcd09eea Task-number: QTRD-3693 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Change copyright noticeRainer Keller2014-10-061-3/+3
| | | | | | | | | - URL points to qt.io - Update year to 2014 Change-Id: I6a77715faf32c88fe2832a6d21a912a20e5dae50 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
* Update license headers.Mitch Curtis2014-06-231-1/+1
| | | | | | | | | | | "This file is part of the Qt Quick Enterprise Controls add-on." becomes: "This file is part of the Qt Virtual Keyboard add-on for Qt Enterprise." Change-Id: Ief6e840a658fdf769d653844fe92752aa44c3bec Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Add PinyinInputMethodJarkko Koivikko2014-06-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new PinyinInputMethod which is using the PinyinIME engine as backend. The PinyinIME is Apache 2.0 licensed. https://android.googlesource.com/platform/packages/inputmethods/PinyinIME/ The pinyin input method is enabled by using CONFIG+=pinyin configuration flag on the qmake command line. Dictionaries ============ The pinyin engine uses two kinds of dictionaries: sys_dict and usr_dict. The sys_dict is a pre-built dictionary containing a search model for Chinese words. The sys_dict is built using the dictionary tool included in the source tree. The sys_dict is deployed in to the $$[QT_INSTALL_DATA]/qtvirtualkeyboard/pinyin directory on the target system. This path will become the default location where the dictionary is searched in. The default location can be overridden by specifying an alternative path to the dictionary file in an environment variable QT_VIRTUALKEYBOARD_PINYIN_DICTIONARY. The usr_dict contains custom lemmas which the user is most frequently using. Initially, the usr_dict may not exist, in which case it is automatically created. The usr_dict is located at subdirectory qtvirtualkeyboard/pinyin under the location returned by QStandardPaths::writableLocation(QStandardPaths::ConfigLocation). Usage ===== The pinyin input mode is activated by changing the input locale to zh_CN. Chinese words are entered by typing the phonetic form of the Chinese words and then selecting words from the selection list. The first item in the selection list always contains the complete phrase. By selecting the first item, the pinyin completes the entire phrase and ends the current input. The user can also select the entire phrase by pressing the space key. The subsequent items in the selection list are the segments comprising one or more Chinese words. By selecting segments of previously unknown lemma, the input method learns this by adding a new entry to the usr_dict. Once the user enters the same pinyin sequence again, the input method can suggest the same phrase as the first or the second item in the selection list. The characters sequences, which are not valid pinyin spellings, are displayed in lower case letters. The user can either delete these characters by pressing the backspace key, or select and accept them as input from the selection list. After the user completes the phrase, or moves the cursor in the text, the pinyin input can predict words by looking at text up to 3 characters in history. In prediction mode the user is not required to select any items from the prediction list. The user can enter plain latin characters by accepting the input sequence with the return key. Change-Id: I46bfc0df112a4d9c892222916cb7455132dd5059 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Liang Qi <liang.qi@digia.com>
* Restructure and rename.Mitch Curtis2014-01-281-0/+66
This restructures the repo to match other Qt modules, like the Enterprise Controls. It also renames the plugin and usages of its name in the documentation so that the abbreviated "VKB" is not used anywhere. Change-Id: I5de3fc67846a50438e52f4be057abfa0d9be0d91 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>