| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
[ChangeLog] Added Hebrew keyboard layout.
Change-Id: I7779db4e5ac3c5a99937a0d7b7e572db65f0d811
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
[ChangeLog] Added Farsi handwriting.
Change-Id: I1bf25cbc7f36cf8ca3f0a44b7e217a55ed3aa13a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
| |
[ChangeLog] Added Arabic handwriting.
Change-Id: Ica0601da2df262369159415d28fdb183e6f63736
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/virtualkeyboard/t9writeworker.cpp
src/virtualkeyboard/t9writeworker.h
Change-Id: I1fa1567e2739766c55c0e94b10706eecb8ba2ae1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added Serbian keyboard layout.
Change-Id: I7baa330791c62f7bbf4ff6a253ce1eea9f9c0e32
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added Hungarian keyboard layout.
Change-Id: Ie0491c625aa767c2e775f1961192f3e4fa0c652b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added Czech keyboard layout.
Change-Id: I12d989436e0299dc3dc1e993d756aba31a30a763
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added Croatian keyboard layout.
Change-Id: I6e06b81439b046919561a5f7349d2603e53a7f55
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added Bulgarian keyboard layout.
Change-Id: I636ba97d3fe80c94f91b269426465023a433d7bf
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added Greek keyboard layout.
Change-Id: I56a15ebcf58c768d8f544654cb8a17a77c743e3f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added Estonian keyboard layout.
Change-Id: Iadb39df14980e36a15f61f4e4f346f8aeee63b91
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added Dutch keyboard layout.
Change-Id: I91d853fe2e74c68492caf9afac85df2c4b64548d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The tests for boot2qt were disabled with commit
96c9211bdde4c170e2fdb2f14178247eb7d8366b. The tests can
be enabled since qtdeclarative now fallbacks to software
renderer if OpenGL is not supported.
Also blacklisted a test failing because of QTBUG-61279
Change-Id: I56bd5041b1ffbb150cdaab1f76638fd79041af06
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
This change adds handwriting support for Japanese.
Change-Id: Ifc8f0e32c8b3211c13aee8be5cb2e05fae09d3b7
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
This change adds handwriting support for Korean.
Change-Id: I77eb322020c39259d9609051100c40b271a62c04
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| | |
This change adds handwriting support for Traditional Chinese.
Change-Id: Ic358bf81795a3c88234b5e9c85635223ebf1c0d7
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
Change-Id: I50c9e2f5c363e1314f47d7023685da543ec9a7eb
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\|
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
src/virtualkeyboard/virtualkeyboard.pro
Change-Id: Idf7682b63379b94a1d444d3528472afea77133bc
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently boot2qt is tested with QEMU and some tests fail. Disabling
them for now to make it possible to enable qt5 tests for Coin.
Task-number: QTBUG-60266
Change-Id: I1c520d276bcb606d8d9fa5c7055688defb763867
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
test_languagePopupListActiveLocales test will fail with
unhandled exception if only Korean (for example) is configured.
In this case the language button is not found, and calling
virtualKeyClick() function with null parameter causes an
unhandled exception.
Change-Id: Idc5d57fe56423d7a49947f6c02e75d28b7e4ec90
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|/
|
|
|
|
|
|
|
| |
Originally the emulated HWR input was centered on the input window
because it look better. However, it seems this will confuse T9 Write
HWR engine and cause some tests to fail.
Change-Id: I72e5c1a5db2b5aded2db2e5a8f6f79f5f414d5aa
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In full screen mode the virtual keyboard replicates the contents of
the focused input field to full screen input field located on top
of keyboard.
This mode can be activated by VirtualKeyboardSettings.fullScreenMode.
[ChangeLog] Added full screen input mode for super wide screens.
Change-Id: Ib2650c04767fb0945cc2bedc5b1801d254a15a41
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This feature, when enabled, automatically commits the remaining single
word in the word candidate list, when there was initially multiple
candidates.
This feature can be enabled from settings using
VirtualKeyboardSettings.wordSelectionList.autoCommitWord property.
[ChangeLog] Added support for automatic selection of the only remaining
word in the suggestion list.
Change-Id: Iecfafcaeb3ccb72e1d8e53b92c395b0d1dc84163
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Reset symbol mode when:
- keyboard is dismissed
- input focus changes.
Change-Id: I59207543d25755409e400a365777933fb23c2196
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds language popup as an alternative method for
selecting the input language.
The language popup is enabled when the active style supports it.
This change adds the support for the default style.
The popup opens from the change language key with single tap
and can be dismissed by tapping anywhere else on the keyboard.
The old toggle method for changing the input language is still
available and supported (can be enabled easily from keyboard style).
Some basic tests are included in this change.
[ChangeLog] Added language selection popup for faster selection of
input language.
Change-Id: Ie3773f1d0cac78dee8237285e8596fe57c8bb5e4
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/config.pri
tests/auto/inputpanel/data/tst_inputpanel.qml
Change-Id: Ib84bbfee8097cf807dbdffb37dfdfc344fc2dbbf
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/virtualkeyboard/doc/qtvirtualkeyboard.qdocconf
Change-Id: I2aac70f4bf65794c73096ec575c9f72bc63ec61c
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/virtualkeyboard/content/InputPanel.qml
Change-Id: I6839198e123f682a88132f8efbed0bdaf8835e7e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously the shift state could be set twice when focus object changed,
first in reset() method and then in autoCapitalize() method.
This change eliminates the initial shift state in reset() method.
Task-number: QTBUG-57082
Change-Id: I4bba5c85aae1d0d631e7e30577d0d4068c9cc582
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I8a42546e1a520886f2dab417d9ae43037f1d7012
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Add possibility to override and exclude built-in keyboard layouts
* Add QT_VIRTUALKEYBOARD_LAYOUT_PATH environment variable specifying
the layout location on the file system or inside a qrc resource
* Update documentation accordingly
[ChangeLog] Add support for external keyboard layouts, which allows overriding and exclusion of the built-in keyboard layouts
Task-number: QTBUG-54254
Change-Id: I960b942c031221d29dbdf1cabed78be8d32f43ef
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, there is nothing to separate whether the button
command is a single click or a double click. Every time we
click the shift button, it always look for the second click
and always activate the caps lock. There is no time limit to
specify if there will be a second click and always recognized
the upcoming click to activate the caps lock. The correct be-
havior of a shift button is that a single click is used to
enable the upper-case and automatically turned into lower case
when the next letter is typed. Another case, within a specific
time, if a second click comes, the caps-lock is activated and
keep the upper-case mode, otherwise the upcoming click is used
to abort the upper-case and change the keyboard mode back to
lower-case.
Unit test is also updated.
[ChangeLog] Changed behavior of shift handler to only activate
caps lock if the shift key is double-clicked.
Change-Id: Ia04a61ca6df5407f37eb73b9de65c6ccd0128547
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Import was previously allowed from two locations:
* qrc:/QtQuick/VirtualKeyboard/content/styles/
* The first import path containing
QtQuick/VirtualKeyboard/Styles/
This prevents an application-supplied style outside of
these locations from being used, even if the style name is unique.
[ChangeLog] Added support for styles in any Qml import path
under the directory QtQuick/VirtualKeyboard/Styles/<style>
Change-Id: Ie6034709182f182efacb0317e49d095d51ced5a6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[ChangeLog] Added support for selection handles for VKB. Currently, its
only supported for the integrated VKB. Support for the dedicated VKB will
be a separate commit
Change-Id: I1f700fbc641bc68949b4cc81a8fa3aa275f34efa
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/virtualkeyboard/lipisharedrecognizer.cpp
src/virtualkeyboard/styles/styles.pro
src/virtualkeyboard/virtualkeyboard.pro
Change-Id: I150f2ad265f8a7bd07be1d9415cdad854e200e87
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The test was based on a simple delay, which proved to be an
unreliable way to measure the number of keystrokes. Now the
test uses SignalSpy to measure the keystrokes.
Change-Id: Id2474e07e002fb001eba4a3b595c2719aac81f6c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Idc71754cae27cb4222e2a5073533a4830e06f45d
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These tests fail on Windows 10 with developer build.
We need to unblock the continuous integration, a proper fix needs to
follow.
Task-number: QTBUG-52256
Change-Id: I5afaa07e4b31aec08f9e494bb213c07134ec453b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
|
|/
|
|
|
|
| |
Change-Id: I0dc6af72a3ae52a0b97b704df84fb1a8197aeeb8
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change modifies the files that exist in the 1.3 version.
Fix static build of the virtual keyboard:
- Included instructions for the static build in the build doc.
- Added missing resource initialization macros to the plugin.cpp.
- Register QML module dependencies conditionally in the virtual
keyboard plugin initialization.
- Added missing attributes to the styles plugin qmldir file.
- Renamed StylesPlugin class to QtVirtualKeyboardStylesPlugin.
Change-Id: Idc1d35fbd95bd19932baaab13849a4a65d4e944f
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|