| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/virtualkeyboard/doc/qtvirtualkeyboard.qdocconf
Change-Id: I2aac70f4bf65794c73096ec575c9f72bc63ec61c
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/virtualkeyboard/content/InputPanel.qml
Change-Id: I6839198e123f682a88132f8efbed0bdaf8835e7e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use the correct qdoc syntax and fix the grammar.
Task-number: QTBUG-56822
Change-Id: I70f4214df35ed26573f9d26211db39150bb5b5a6
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I8a42546e1a520886f2dab417d9ae43037f1d7012
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Romanian laguage has 5 additional letters to the latin alphabet (ăîâșț).
Beside these letters, minus symbol (-) is quite used, therefore it's on
the main letters page.
[ChangeLog] Added Romanian keyboard layout.
Change-Id: Iba06a0715462834493d223ecfaf6a6875b249085
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While perhaps not that important for BaseKey, for which child items
might not make a whole lot of sense, it shouldn't be necessary to
shadow Item's enabled property.
Task-number: QTBUG-55754
Change-Id: I6746b55cdda1947006f1d052b613a7e38f01fac2
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |\|
| | |
| | |
| | | |
Change-Id: I74ff8fb7833b2814c2baa07c0b78b4ed8cddb920
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The RowLayout that contained the key that was made visible seemed to
get an implicitHeight, where all the other rows had implicitHeights of
0. The RowLayouts fill the width and height of their parent (a
ColumnLayout), which means that the implicitHeight won't be used as
long as its small enough; it's just there to prevent rows from getting
large implicitHeights.
Task-number: QTBUG-54953
Change-Id: Ic7a8a6f00f03a4ea8a05abf69cfedcf168c919d7
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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>
|
| |
| |
| |
| |
| | |
Change-Id: Ie9a59b45daf3f6f1d79b8903e7bb3324f4d374b7
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This usually happens when there is a selection, and the view is scrolled
so that parts of the selection is outside of the visible input area.
Change-Id: I26867c7b3db112f6627ddffc5463a9e52af380cd
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@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>
|
| |
| |
| |
| |
| | |
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>
|
|\|
| |
| |
| | |
Change-Id: Ib2e0f6c524f72a6048ce4880fcd5494a26a0d199
|
| |
| |
| |
| |
| |
| |
| | |
Added some documentation about handwriting support in general.
Change-Id: Ie901a8296020d74c44ce952659615ac8d215616e
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note: These languages are only available with the T9 Write engine.
This change adds handwriting recognition for the following languages:
- Danish
- German
- Spanish
- Finnish
- French
- Italian
- Norwegian
- Polish
- Portuguese
- Russian
- Swedish
Change-Id: I686d15bb89acc7012aaba73e271640426b73649e
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Handwriting layout uses ChangeLanguageKey with customLayoutsOnly
attribute to filter out languages which does not have handwriting
layout.
By default the customLayoutsOnly attribute filters out the base layout
(English) if it's not the current language. This functionality exists
for the special layouts, such as the numbers layout, to prevent language
switch between the languages where the layout does not change. However,
for handwriting the input language is significant and it should be
possible to switch between all the languages which contain handwriting
layout.
This change adds an exception for the no-base-layout rule and includes
English handwriting layout in the custom layout list.
Change-Id: I58449c18b20c2643f5cc905163acefe11fd1fa6c
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I566bedd94dd14250f306c594c19ddae06ca1443f
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|/
|
|
|
|
| |
Change-Id: I0dc6af72a3ae52a0b97b704df84fb1a8197aeeb8
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The AutoScroller component is not well maintained and has not been validated
to be working correctly except for the example app.
This change moves the AutoScroller component to the example application.
There was also a bug in the component. References to the flickable components
were not cleared before updating.
Task-number: QTRD-3784
Change-Id: Ie15b4b994c016a9d0c065a2e469f928fec15d265
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add new configuration flags to simplify the customization process
of the virtual keyboard.
- lang-<code> flag enables the specified language.
- lang-all flag enables all the languages.
- handwriting flag enables the handwriting input method (t9write
or lipi-toolkit)
Updated test cases and also fixed the virtual keyboard for single
language support.
Change-Id: I599816bed591bd193ad26cef0e9bf4812146e865
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Previously the word candidate popup was always located below the cursor.
Now it flips above the cursor if there is more room.
Change-Id: I90f539703b001de5565d7d96c2b39df6185cde1a
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
This change modifies the internal resource paths and makes them unique
in the global context to avoid conflict with the application namespace.
Change-Id: I72b17b744e07f5a94bb5ba99f3632d7f67b307ae
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I70454fc71ea908ed24d02e75739730fb7510ef0f
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The arrow key navigation tests could fail due to bug in a test function.
Previously the navigation key press and the highlight rectangle could
go out of sync due to highlight animation. Now the test waits until the
highlight animation is completed and then proceeds with the test, making
the test cases more robust and not dependent of system performance.
Change-Id: I72bc15de988a212fa2e96230bc346bbfd3fdea41
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds Cangjie input method for Traditional Chinese.
The input method is based on the TCIME input method for Android.
https://code.google.com/p/android-traditional-chinese-ime/
The Cangjie input method is enabled by adding CONFIG+=tcime into
qmake command line.
The version of the Cangjie input is v3.
Change-Id: Ibc49484d1277c332fc17e9b49b4227256ad88d5a
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds support for smallText label in the key and also
modifies the default behavior of alternative keys.
The smallText property in the BaseKey is by default set to default
alternative key. The keyboard layout can modify the smallText if
necessary. However, the smallText is not visible by default. It can
be set to visible at KeyboardLayout, KeyboardRow, KeyboardColumn or
Key level.
Previously the alternative keys included the "parent" key as the
default highlighted item in the list. This behavior is now changed,
and the "parent" item is filtered out from the effective list presented
to user. Rationale for this is that if the smallText feature would be
turned on for existing layouts, they would render the same key label
twice.
Change-Id: I543b2d3355be640d80f751444944a6dcefbbce73
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reset to default locale if VirtualKeyboardSettings.activeLocales
is updated and VirtualKeyboardSettings.locale is set (to some value).
This fixes a case where the activeLocales is initially set to some
values, which does not include the VirtualKeyboardSettings.locale.
Later, when the activeLocales is updated to include the
VirtualKeyboardSettings.locale, the keyboard layout would not change
immediately to specific locale, as one would expect.
This issue was found by running the test cases with CONFIG+=openwnn
and observing that test_baseKeyNoModifier did not pass.
Change-Id: Iaf3f26a81716a83e936820c5b5f1069916ee81eb
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Iba2bd21b95dde1aac5750ac77856716e0c61e577
Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The language indicator was located inside a wrong container preventing
the text to scale.
Task-number: QTRD-3625
Change-Id: I07c22e19f0cbd1fd7e6848b49f8e0def4caff8cf
Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added missing dialable input mode for LipiInputMethod.
Prevent changing the input mode in numeric only input mode.
Update test cases to include tests for numeric only
input modes.
Task-number: QTRD-3705
Task-number: QTRD-3706
Change-Id: Ic3fa090ba4dfa07efd33f4c6b4441c8f95614f75
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds three new properties for VirtualKeyboardSettings.
- locale: Defines the default locale, can also be used to change
the current language.
- availableLocales: A list of built-in locales.
- activeLocales: Application defined list of active locales.
Task-number: QTRD-3332
Change-Id: Ia9e69f54501ec7ad7680a6167546b52d0972e2dc
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
The currentItemHighlight is an optional property used only by the
retro style.
Change-Id: I0a4913bf8b623b7cfb253878d871508a7a174a0e
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds support for the full screen handwriting input.
In full screen handwriting input, the user is able to use the
whole application screen as a container for handwriting input.
This feature is available to those application integrations,
which integrate the new HandwritingInputPanel type to the
application QML. The HandwritingInputPanel works as an add-on
to the existing InputPanel, so it cannot be used exclusively
without the InputPanel.
Change-Id: I11530b9ccbc66aa59b210bec94d7bb87f0826370
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
This allows the input method to use the specific locale even if using
shared layout from default locale.
Change-Id: I237971a94c8bfcc42643606e839f8ae5b7983198
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Previously the handwriting layout was overridden by digits or numeric
layouts, which does not make sense since it should be possible to input
numbers in handwriting too.
Change-Id: I44cc8e4852ef871a0854fe92d4bf92bd4c390db6
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change fixes an issue that the input mode is not updated when the
input method hints are updated, even though the new input method hints
would trigger different input mode. This will happen if the new hints
do not trigger a keyboard layout switch. Specifically, this applies to
handwriting input, which can be used in combination of all input method
hints.
Change-Id: I942d556ac29b542fe6acc9e2ee35f52f6e12cbc4
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The keyboard layout indices were sorted in ambiguous order, e.g.:
1, 10, 11, 12, .., 2, 3
meaning they were sorted by text, and not by decimal value as they
should have been:
1, 2, 3, .., 10, 11, 12
This affects to the order in which the keyboard layouts appear when
pressing the language button.
Change-Id: I75d29fce5de99b89be58b5fca86d5485e6e6a60a
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Using the colors provided by Diana.
Change-Id: I5948b68af0f6d3b8a33a95847ed92cc3b6920a9f
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Handwriting support was originally added as 1.4, but has been
updated to 2.0 in this commit.
Since the major version number has changed, all the components
must be registered with the new major version number.
Change-Id: I34c74f5dd24684423d153ff85a4a24eed8d4ffd1
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I738b89b21cc667064d84f6eaf99ed1248218371e
Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a reference implementation of the handwriting
input method.
The handwriting support is enabled by adding CONFIG+=lipi-toolkit
to the qmake command line.
The current implementation uses alphanumeric model for handwriting
recognition, which come bundled in the lipi toolkit.
Change-Id: I1fcc0a0c0620dd7f9503a2a584cea0003e8a032e
Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds generic support for pattern recognition
based input methods.
Added new API for the input engine and input method to
process trace data. The trace data can originate from
various input devices, e.g. from touch screen or from
a dedicated hardware touch panel.
Added new data model type for trace supporting both the C++
and QML interfaces. The new data model is DeclarativeTrace
and Trace respectively, and it stores the trace data captured
from the input device.
The trace object is owned by the input method and is accessible
to the UI layer, capture device and the input method.
First, when the trace event begins, the capture device invokes
the InputEngine.traceBegin(). The input engine forwards this
call to the input method, which creates the trace object in
response to successful call.
Then the capture device receives the trace object and starts
collecting the data. Also, in case of touch screen input, there
are also the UI layer which renders the data. For this purpose
there are new kinds of Style elements available in the Styles
plugin. TraceCanvas is a specialized Canvas for rendering the
trace object on screen. The TraceCanvas is a normal styling
component, and can be customized like any other style element.
Finally, the InputMethod.traceEnd() is called when the trace
interaction ends. The trace is removed from screen automatically
when the trace object is deleted. I.e., the input method has
full control on how many traces it wants to collect for single
recognition phase.
Change-Id: I80ed90032f715726280197d9e94e7f0bd8280ff3
Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This property allows to define which keyboard layouts share the custom
input method created by KeyboardLayout.createInputMethod().
Note that changing the locale still causes an explicit destruction of a
custom input method.
This change gives more control to custom input method creation and
destruction.
Change-Id: I478ec38de67146bec12a6abfc25f54691a9ba614
Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
|
|
|
|
|
|
|
| |
Replaced the png graphics for icons with SVG.
Change-Id: I793d390870a3ab4c1c14d594004b050fd084b00d
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
|