aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * Attempt to stabilise inputpanel auto testMitch Curtis2018-09-051-0/+8
| | | | | | | | | | | | | | | | | | | | The last patch showed that there was no focus window when InputContext::sendKeyClick() was called, so try to raise and activate the window at the start of each test to see if it helps. Task-number: QTBUG-62518 Change-Id: I48a66109d18e941e16e177d0c6ec76517846bc9d Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Fix regression in arrow key navigationJarkko Koivikko2018-08-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | When word candidate view contained items and an alternative keys view was opened by long press key, the word candidate item was selected together with alternative key. This regression was introduced in commit e803aec1ea21fd00e13b9535a4b536cc43c26ee4 Change-Id: Ie6f7e1580ddcc5327104eafafc3a10c86e9abb65 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Use enum class in the public APIJarkko Koivikko2018-08-284-21/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix regression in test_wclAutoCommitWordSettingJarkko Koivikko2018-08-272-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit e803aec1ea21fd00e13b9535a4b536cc43c26ee4 modified the test case and caused regression. The idea was correct, but the implementation used SignalSpy for model.dataChanged, which is ambiguous, since there are multiple signals per update. This change introduce inputMethodSelectionListChangedSpy which monitors selectionListChanged signal from the input method. This is reliable, as long as suggestions are generated background. Change-Id: Ica2710b8c389c13e1a1b1d28027667e031bc4f59 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Trim InputContext APIJarkko Koivikko2018-08-271-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of this change is to reduce the number of public API in the virtual keyboard. This change moves a lot of stuff from InputContext to ShiftHandler and InputContextPrivate and exposes the private API to QML through InputContext.priv property. Almost all the unrelevant APIs were moved away, except some properties and methods needed by selection control. These were left intact because moving them is not trivial. Change-Id: I1f23f5f54bc21c68996cb220a66d16d34b5d14ce Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* | Restore inputpanel tests for b2qtSami Nurmenniemi2018-08-272-18/+0
| | | | | | | | | | | | | | | | | | | | | | These tests pass now. Fixes have been - Support for MADV_DONTNEED added to qemu - Newer Yocto toolchain Task-number: QTBUG-68349 Change-Id: I47377a1f2596c7de410a23dd556c79552b0a41c1 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Add Spanish Mexican keyboard layoutJarkko Koivikko2018-08-201-0/+1
| | | | | | | | | | | | | | | | [ChangeLog] Added Spanish Mexican keyboard layout Change-Id: Idfdf9d8abd051e8fbdad8e724780d30cb452e006 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Portuguese Brazil keyboard layoutJarkko Koivikko2018-08-201-0/+1
| | | | | | | | | | | | | | | | [ChangeLog] Added Portuguese Brazil keyboard layout Change-Id: Icb6f5931c63aa0380bebee29c9344a2e30c6a8f1 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add French Canadian keyboard layoutJarkko Koivikko2018-08-201-0/+1
| | | | | | | | | | | | | | | | [ChangeLog] Added French Canadian keyboard layout Change-Id: I20efb7aa42cf2b30f6302980b931e2d5c9df930a Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add English US keyboard layoutJarkko Koivikko2018-08-171-0/+1
| | | | | | | | | | | | | | [ChangeLog] Added English US keyboard layout Change-Id: I02c54b5f31bfb757f3fb41fcc6c90341013a4fc3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Indonesian keyboard layoutJarkko Koivikko2018-08-171-0/+1
| | | | | | | | | | | | | | [ChangeLog] Added Indonesian keyboard layout Change-Id: I22bc6eca017c5ae79783c68eaf992853ae77d4ec Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Malay keyboard layoutJarkko Koivikko2018-08-171-0/+1
| | | | | | | | | | | | | | [ChangeLog] Added Malay keyboard layout Change-Id: I4c388f6d5a8ee3863e09e2319645ba4644abc9b7 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add user dictionary and learning for HunspellJarkko Koivikko2018-08-163-8/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds user dictionary and learning function for Hunspell. Learning happens when the user selects the first candidate from the word candidate list (or presses the space key while the first candidate is selected) and the word does not exist in the default dictionary. User can remove a word from user dictionary by long pressing an item on the word candidate list (and selecting from the menu). This also allows the user to block words originating from the system dictionary. The Hunspell user dictionary is hard limited to 100 words. However, when user enters a word again (which exists in the user dictionary), it will be prioritized in the dictionary, so the most frequent words stay in the dictionary. The dictionaries are language and locale specific and are stored in: QStandardPaths::GenericConfigLocation + "/qtvirtualkeyboard/hunspell" The dictionaries are UTF-8 encoded text files and contain one word per line. The same directory also contains the blacklist files (which also exist per language and locale). These files contain words which are blacklisted from the default dictionary. [ChangeLog] Added user dictionary and learning for Hunspell Change-Id: Ib0fc70f7eaa14ec49b74000144a75c59313ac0fb Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Ukrainian keyboard layoutJarkko Koivikko2018-08-161-0/+1
| | | | | | | | | | | | | | [ChangeLog] Added Ukrainian keyboard layout Change-Id: Ic844f43221823e6fde1a6f218f3ec539e731f607 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Turkish keyboard layoutJarkko Koivikko2018-08-161-0/+1
| | | | | | | | | | | | | | | | [ChangeLog] Added Turkish keyboard layout Change-Id: Ibc4d1382346f20fcc0d6cd3031b728a40f4bf5a3 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Thai keyboard layoutJarkko Koivikko2018-08-161-1/+2
| | | | | | | | | | | | | | [ChangeLog] Added Thai keyboard layout Change-Id: Ie527524f110a02729e2c81fa97408a00464eda4f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | tests: Fix key search for Shift toggle layoutJarkko Koivikko2018-08-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some layouts, such as Arabic and Thai use Shift key to toggle nested keyboard layout. The test helper method InputPanel.multiLayoutKeyActionHelper contained a bug which caused Shift key to be pressed, but not released. Subsequently the keyboard layout did not change as expected. This change fixes the test method by changing the key press to key click. The issue was discovered when testing some Thai input strings. Change-Id: If73865d0765e0763cddc99f92d2582ebfa73125b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Slovenian keyboard layoutJarkko Koivikko2018-08-161-1/+2
| | | | | | | | | | | | | | [ChangeLog] Added Slovenian keyboard layout Change-Id: Icb8105c044831753a2565a55c0a1c7b98e9f84d1 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Slovak keyboard layoutJarkko Koivikko2018-08-161-1/+2
| | | | | | | | | | | | | | [ChangeLog] Added Slovak keyboard layout Change-Id: Ie9a853b8ba2eecc023918e0d8abe8a41a03e4329 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Albanian keyboard layoutJarkko Koivikko2018-08-161-1/+2
| | | | | | | | | | | | | | [ChangeLog] Added Albanian keyboard layout Change-Id: I85e800f0771c2d94ab87859c5feb7cf9d1f07f18 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Allow InputMethod to process pre-edit clickYuntaek Rim2018-08-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have InputMethod::reselect, but it is limited to case where the current pre-edit is discarded and new range is made active. However, if an input method wants to move the cursor within pre-edit, it is not possible with the current implementation. This change adds the new API for the InputMethod which allows to handle pre-edit click before reselect happens. If the input method handles the event, reselect will not be done. This change also improves the cursor handling within pre-edit text. Previously if the cursor attribute was added to pre-edit text and the input was committed, the cursor would jump to position after pre-edit text. This is now taken into account when committing text and cursor location will be preserved. Change-Id: I0a32f75eb4e454c86dd8d4f4016ac02fc1bc6c60 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | myscript: initial integrationYuntaek Rim2018-08-167-680/+837
| | | | | | | | | | | | | | [ChangeLog][MyScript] Added support for MyScript handwriting. Change-Id: I7c1f41dfd7ddd25faf2d197652ba04d3d7e12941 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Modularize virtual keyboard and add an extension interfaceJarkko Koivikko2018-08-063-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/5.11' into devLiang Qi2018-06-131-0/+4
|\| | | | | | | | | | | | | | | | | Conflicts: .qmake.conf src/virtualkeyboard/pinyindecoderservice.cpp src/virtualkeyboard/tcinputmethod.cpp Change-Id: Ie111173f60bc622ceda18bd5ee4a0e4b0e0a00ae
| * Skip crashing test on offscreen platformSami Nurmenniemi2018-05-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | Test currently crashes often on QEMU so it needs to be skipped until root cause is found. Blacklisting is not enough since it does not capture crashes. Task-number: QTBUG-68349 Change-Id: I72aaeae3cc338fc59fea43ee766eea3762a1eaa6 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Improve reliability of inputpanel testJarkko Koivikko2018-05-221-91/+81
| | | | | | | | | | | | | | | | | | - Skip tests which are not applicaple - Add delay after focus change in prepareTest Task-number: QTBUG-62518 Change-Id: Ib62b408634bf4ad19940908738fc2cd756bb6b67 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Vietnamese handwriting recognition (T9 Write)Jarkko Koivikko2018-05-1111-3/+2410
| | | | | | | | | | | | | | [ChangeLog] Added Vietnamese handwriting recognition. Change-Id: I34fcf6acf58c3fcc8ef131db9c0f34703a7f85fc Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Vietnamese keyboard layoutJarkko Koivikko2018-05-112-1/+23
| | | | | | | | | | | | | | [ChangeLog] Added Vietnamese keyboard layout Change-Id: I9191e76a3ff268ffa93af87786412c27da022950 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add latin extra layout for RussianJarkko Koivikko2018-05-101-0/+1
|/ | | | | | | | [ChangeLog] Added latin extra layout for Russian. Task-number: QTBUG-67756 Change-Id: I9422d68ef2d08fffa6bb7241bd038aad9a3146a2 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* FullScreenMode: Send return key without modifiersv5.11.0-beta2Andy Shaw2018-03-091-0/+13
| | | | | | | | | | | When the return key is sent to a multiple line text field it can be interpreted differently if the Shift modifier is included. This makes sense for a hard keyboard as you can use it to enter in a new line versus a new paragraph. For the virtual keyboard however, it is best to just send it as a plain return so it handles it correctly. Change-Id: I995504d7ab6961fd8baf016d2d68be4b659d1e19 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.10' into devLiang Qi2018-01-202-0/+12
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I84cccac7024c1c48b6419838bb424e45cb2557d4
| * Blacklist and skip failing/crashing tests on boot2qtSami Nurmenniemi2018-01-032-0/+12
| | | | | | | | | | | | Task-number: QTBUG-63152 Change-Id: I588c4b71a9d7e44cab5010e9a32c75e6e12c7389 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add support for external language switchJarkko Koivikko2018-01-192-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new signal InputPanel::externalLanguageSwitch and a property InputPanel::externalLanguageSwitchEnabled for enabling external language switch. If the externalLanguageSwitchEnabled is true, the signal is triggered instead of built-in language popup. The new language can be selected by setting the VirtualKeyboardSettings::locale property. [ChangeLog] Add option to use external language dialog instead of built-in language popup. Change-Id: I44f88e6b3e52db4cfbee02bd3b6d7f4be38a9521 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | tst_inputpanel: don't rely on index var being valid after first loopMitch Curtis2017-12-131-1/+1
|/ | | | | | | | | | | | In Qt 5.10 this code would work, but in dev inputIndex is null. It might be a regression or it might be a fix to comply with the standard, but either way, we should be explicit in the test and initialize the variable in the for loop's initial expression. Task-number: QTBUG-64988 Change-Id: Idf6019307a02a32dcb6237e2e83e5a9cd512df3d Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Liang Qi <liang.qi@qt.io>
* Add Hebrew keyboard layoutJarkko Koivikko2017-08-2432-1/+8596
| | | | | | | [ChangeLog] Added Hebrew keyboard layout. Change-Id: I7779db4e5ac3c5a99937a0d7b7e572db65f0d811 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Clear toggle shift timer when appropriateJarkko Koivikko2017-08-241-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The timer in the ShiftHandler is used for detecting double click events for shift key. A double click event will trigger caps lock if the initial shift state is lower case. However, the implementation did not handle a case where the keyboard layout changes between the first and second press. This can be done with multitouch. The second problem was with the automatic test cases, where the test code toggles the shift to see if there is a secondary layout triggered by the shift key, e.g. in Arabic and Farsi. However, if the keyboard layout does not contain secondary layout, rapid shift state change will trigger caps lock instead. This issue was identified with certain test case for Hebrew layout. This change fixes the issue by clearing the shift toggle timer when the layout changes and in the automatic tests while checking for the secondary layout with the shift key. Also, update test code so that the shift press is simulated with mouse. This will ensure the key exists in the layout and that the key is enabled. Change-Id: I2a528f1b82c30e8b8d9746d380b32ee370b38004 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add Farsi handwritingJarkko Koivikko2017-08-214-0/+611
| | | | | | | [ChangeLog] Added Farsi handwriting. Change-Id: I1bf25cbc7f36cf8ca3f0a44b7e217a55ed3aa13a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add Arabic handwritingJarkko Koivikko2017-08-218-0/+1439
| | | | | | | [ChangeLog] Added Arabic handwriting. Change-Id: Ica0601da2df262369159415d28fdb183e6f63736 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.9' into devLiang Qi2017-08-151-0/+2
|\ | | | | | | | | | | | | | | Conflicts: src/virtualkeyboard/t9writeworker.cpp src/virtualkeyboard/t9writeworker.h Change-Id: I1fa1567e2739766c55c0e94b10706eecb8ba2ae1
| * 3rdparty/openwnn: Fix crash related to entering a smileyJarkko Koivikko2017-08-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The crash occurs in Hiragana input mode only when pressing the space after entering a smiley. Fix it by handling the smiley as individual characters instead of text when submitting to OpenWNN engine. [ChangeLog][OpenWNN] Fixed crash when pressing the space after entering a smiley. Task-number: QTBUG-62143 Change-Id: Ic5f271bdfe05491ffd6147f1fc8eb9f54ef4e032 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
| * 3rdparty/openwnn: Fix and optimize the engine due to QStringLiteralJarkko Koivikko2017-07-251-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QStringLiteral is broken in MSVC2015 onwards when used with \uXXXX encoded character literals. This was the reason Japanese tests were failing - the OpenWNN engine was actually broken and producing garbage. Not only this change eliminates QStringLiteral from openwnn, but also reduces runtime memory usage by replacing QMap<QString, QString>. The new solution is based on simple binary lookup table WnnLookupTable. WnnLookupTable data was converted from existing QMap structures using WnnLookupTable::create() method, which was left there for future reference. This change also removes the unnecessary QObjectPrivate definitions from Romkan* classes. [ChangeLog][OpenWNN] Fixed and optimized OpenWNN engine (as a workaround for QStringLiteral breakage) Task-number: QTBUG-62133 Change-Id: I50c9e2f5c363e1314f47d7023685da543ec9a7eb Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit 0bf1c6ad9e0b5572b8ea99f5fc8945dade5675b7)
* | Add Serbian keyboard layoutJarkko Koivikko2017-08-071-0/+1
| | | | | | | | | | | | | | [ChangeLog] Added Serbian keyboard layout. Change-Id: I7baa330791c62f7bbf4ff6a253ce1eea9f9c0e32 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Hungarian keyboard layoutJarkko Koivikko2017-08-071-0/+1
| | | | | | | | | | | | | | [ChangeLog] Added Hungarian keyboard layout. Change-Id: Ie0491c625aa767c2e775f1961192f3e4fa0c652b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Czech keyboard layoutJarkko Koivikko2017-08-071-0/+2
| | | | | | | | | | | | | | [ChangeLog] Added Czech keyboard layout. Change-Id: I12d989436e0299dc3dc1e993d756aba31a30a763 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Croatian keyboard layoutJarkko Koivikko2017-08-071-0/+1
| | | | | | | | | | | | | | [ChangeLog] Added Croatian keyboard layout. Change-Id: I6e06b81439b046919561a5f7349d2603e53a7f55 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Bulgarian keyboard layoutJarkko Koivikko2017-08-0714-0/+4301
| | | | | | | | | | | | | | [ChangeLog] Added Bulgarian keyboard layout. Change-Id: I636ba97d3fe80c94f91b269426465023a433d7bf Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Greek keyboard layoutJarkko Koivikko2017-08-0711-0/+2630
| | | | | | | | | | | | | | [ChangeLog] Added Greek keyboard layout. Change-Id: I56a15ebcf58c768d8f544654cb8a17a77c743e3f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | tests: Allow input sequence to be in any case formatJarkko Koivikko2017-08-041-2/+9
| | | | | | | | | | | | | | | | | | | | | | Currently the text input sequence for the automatic test was expected to be in lowercase. This change modifies this behavior and allows the input sequence to be in any case format. Change-Id: Ic8230d586a290ab481bf1183a204d10a4b37fa7d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Prefer current input mode when switching between handwriting modeJarkko Koivikko2017-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | If a keyboard layout provides multiple choices for input modes (e.g. latin and cyrillic), prefer the current choice when switching to handwriting layout and back. Also, use the same mechanism to avoid binding loop when switching input mode with InputModeKey contained in a KeyboardLayoutLoader where the layout depends on the input mode. Change-Id: If7adae92db39f3b1e49ec362679e6b6ae7f32fa4 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add Estonian keyboard layoutJarkko Koivikko2017-07-311-0/+1
| | | | | | | | | | | | | | [ChangeLog] Added Estonian keyboard layout. Change-Id: Iadb39df14980e36a15f61f4e4f346f8aeee63b91 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>