| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Add QObjectPrivate based constructor to be able to share the
private class. QObjectPrivate enables private slots.
Change-Id: Ibc0bc6c8cb751b03a3e0162d02520eaa669696fb
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
| |
Rename internal modules to adjust their names to the internal module
policy.
Change-Id: I1c0a074b33865b1054f847bb1d5009b4950a4fa0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The warning is triggered when interacting with the MultiPointTouchArea:
Parameter "touchPoints" is not declared. Injection of parameters
into signal handlers is deprecated. Use JavaScript functions
with formal parameters instead.
Fix by declaring the touchPoints parameter to the appropriate
MultiPointTouchArea signal handlers.
Fixes: QTBUG-93997
Pick-to: 6.1 6.1.1
Change-Id: If55cf3e8cd4e94df9e6d5d0fcae6978a4250c671
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Task-number: QTBUG-86726
Change-Id: I9b86f09db8539a21c30414b24f6dddef057f230f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The qml plugin import name was renamed since Qt 5 to
QtQuick.Window instead of QtQuick2.Window.
Pick-to: 6.1
Fixes: QTBUG-93459
Change-Id: I5b8bb61c6eaff8e3244a3b2b4f70ac49c4f567f0
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are valid use cases where UI elements need to be on top of the
InputPanel, so occupying the maximum Z value is unnecessary.
A Z value of 10000 should be a reasonably default and leaves enough
room on both sides. Document the new default.
[ChangeLog][InputPanel] The default z-value of the
InputPanel item has been decreased to 10000.
Fixes: QTBUG-92881
Change-Id: Ifab12273746e5a33e14d8346e03af6ec80c2b049
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-88742
Change-Id: I9fb1b29a1827a5c10a8d44a1e51f0ee5fb436000
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since there can only be one QVirtualKeyboardInputContext,
and since that only has a single pointer to an inputPanel, this is a hard
limitation. The QVirtualKeyboardInputContextPrivate::registerInputPanel
enforces that in debug builds.
Fixes: QTBUG-90809
Pick-to: 6.1
Change-Id: Iae7ae86871401c22932b98d6c5ec1273afb7dfa2
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.1
Change-Id: I7521b539ad38af5ba2845f2ce097e5e20dcbd041
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-88742
Change-Id: Ide456bc0f6d1c5613e83d500717acdd37cbbbf81
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
| |
Change-Id: I2867cd053911a7501b7dfed5fa801fec9e0fdf67
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Use PROJECT_VERSION instead of CMAKE_PROJECT_VERSION, so that the
repo project version is used in a top-level build, rather
than the version of the qt5 project.
Pick-to: 6.1
Task-number: QTBUG-92861
Change-Id: I1ca9423ba63bf8f653289354fa43134769e62964
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change makes significant and hopefully aesthetically pleasing
changes to the look of the virtual keyboard.
The main changes include:
- New modern and minimalist layout for keys
- New style with better contrast and attractive appearance
- Reduced the number of function keys by eliminating the right shift key
as well as combining hide keyboard, language and handwriting keys to
the new function key (on the left side of the space bar).
[ChangeLog] Refresh keyboard layouts and style.
[ChangeLog][Styles] Added new styling properties for the new function
popup menu.
Change-Id: Ie1e4fa33b98331264bf0106e1d1bbdccc43c596f
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Long press delay was set to releatively long interval 800 ms. This
seems to be more than in other platforms.
Change long press interval to 500 ms. This seems to give better user
experience.
[ChangeLog] Change long press delay from 800 ms to 500 ms.
Change-Id: I35fa606dd53a5cb40fe9aa0590c13d95c340fb28
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The new property displayAlternativeKeys is bound to
effectiveAlternativeKeys by default. This allows to override the
alternative keys displayed to the user, if the alternative keys contain
non-printable characters, for example ZERO WIDTH NON-JOINER.
Change-Id: I1496dadcbc02929e98d15bc4c41c1145dc4faf7c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This debug print in a qml file is commented out, but can be enabled for
development purposes.
Improve debug print to contain width and height of the element in
addition to position.
Change-Id: Iba67c545be960e544e7d191c00770ace7b6d556e
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
| |
Silence compiler warnings.
Change-Id: I9b98a118193a9eceaf49a33552236b15cb9401e9
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix incorrect path in the generated resource file and add missing
dictionary files to tcime bundle.
Fix CMake command line options vkb-no-bundle-pinyin and
vkb-no-bundle-tcime.
Fix initialization order of resource files: env, local, resource.
It was previously: env, resource, local. It is now possible to
override resource files by placing local files to data directory.
[ChangeLog] Added vkb- prefix to no-bundle-pinyin no-bundle-tcime
command line options (e.g. vkb-no-bundle-pinyin) and restored them
as part of configuration.
Pick-to: 6.1
Change-Id: I80d1d9091daa9676c655c507d01ed55c03685ae0
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
| |
Replace the constant ABC with the current input mode name.
Pick-to: 6.1
Change-Id: I6b14bd8960a9c3352ef2b26c189f83f094fc8438
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Change-Id: I05fe29c9de3a4e127ed7fe9844c21bcbd000130c
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
Pick-to: 6.1
Change-Id: I78e8aaeea267b3a607e8089c1ca7181721369f15
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
| |
[ChangeLog] Added Stroke and Romaji values to the InputMode enumeration.
Pick-to: 6.1
Change-Id: I03d131c78fae7bf52b8778f7286267d5fc60af94
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
| |
Fixes: QTBUG-91193
Pick-to: 6.1
Change-Id: Idf231cb7f420bb1d98f85e29da6eccb573c78b9b
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The layoutChangeNotifyTimer is used internally by the Keyboard to delay
the notification of keyboard changed event to keyboard observer
component. This is to avoid subsequent notification calls.
Use of timer is not perhaps the best way to accomplish this. This
change replaces the timer with Qt.callLater, which will do the same but
without the additional delay.
Pick-to: 6.1
Change-Id: I9bbefb47ddd0daa64096bd676c25da4e94bcd33d
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Keyboard observer scan layout must work even though the keyboard layout
is currently invisible.
Pick-to: 6.1
Change-Id: Icebd25fb847837a6bcb9a7aca2e165d2638871c0
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When focus is set programmatically (not by mouse, touch or keyboard),
keyboard state is empty, which evaluates into condition that triggers
word reselection.
This should not happen, as it does not happen during normal focus event.
Fix the issue by setting new keyboard state during focus object set.
The word reselection code already has a check in place for an empty
state before reselection can happen. Therefore, the new state will
prevent word reselection.
Pick-to: 6.1
Change-Id: Ic5c24dbf7039da9736a6f4e916a32a04f62769dc
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Amend to commit b04eb85b
Add missing index parameter.
Pick-to: 6.1
Change-Id: Ifd7048e04d06d24b409043a18e1b64dcd078e55a
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Allow the InputMethod property of the metadata to contain either
a string value, or an array of strings. This allows the extension
to host multiple input methods.
Pick-to: 6.1
Change-Id: Id4041c26e365b9c604b068c9e43dca2114b5c27f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
| |
We should not change the original input text.
Fixes: QTBUG-85245
Pick-to: 5.15 5.12
Change-Id: Idfbe95102f9e60a08d78fec5791b9fb2a5a2e817
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
| |
Change-Id: I01eee099b48ea7ff480eaa3a52755c09cfdc13b3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This key is typically used in Japanese keyboard layouts.
It allows entering up to four alternative characters using
flick gesture.
[ChangeLog] Added a new key type FlickKey.
v2: Update CMake project
Change-Id: Icc1ffc484fed0611bf9982a6cc33ed5ac0c03f55
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function sets the opacity to zero after the specified delay.
If the function is called again before the previous delay expires,
the timer will start again with the new delay.
[ChangeLog] Added new function Trace.startHideTimer(), which allows
the input method to hide trace before destroying the trace object.
Change-Id: Icb2da1873cf5889ee983a61b808b65fcb1dd903d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Dictionary manager API provides applications methods to
create custom dictionaries for use in the virtual keyboard
input methods.
- The dictionaries can be activated from both C++ and QML.
v2: Update CMake project
[ChangeLog] Added a generic dictionary API. The API allows
applications to create/update/remove dictionaries at runtime.
The desired dictionaries can be activated from the application.
The implementation of the dictionaries depends on the input
method. A typical use case for this API would be a phone book.
Change-Id: I8fcb931eff2adff80b4a458a676ba25d51df2ec9
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog] Added new method clearInputMode() to input method.
v2: Remove clearInputMode() call from keyboard.qml
Remove clearInputMode() call from keyboard.qml because it happens
too early and is unnecessary because setInputMethod will invoke it.
It is important that the input method receives update() call before
clearInputMode().
Change-Id: I86b4aacd8229e8a3644a36921de2a20000d3f2e9
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
| |
[ChangeLog] Add new settings VirtualKeyboardSettings.defaultInputMethodDisabled
and VirtualKeyboardSettings.defaultDictionaryDisabled.
Change-Id: Ica735c1072bb87d97f9cc9a0fb515d3eb6da2aa2
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This property allows to disable handwriting mode at runtime.
[ChangeLog] Add new setting VirtualKeyboardSettings.disableHandwritingMode,
which allows to disable handwriting mode at runtime.
Change-Id: I5f057cccb6d6e88470d01f43e8f4735fdd436f30
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This property allows to set persistent input method hints.
[ChangeLog] Add new setting VirtualKeyboardSettings.inputMethodHints,
which allows the application to set persistent application wide
input method hints.
Change-Id: Iaa54a360d80c5def88f53aa8b8510c7cf041208c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added new properties VirtualKeyboardSettings.hwrTimeoutForAlphabetic
and VirtualKeyboardSettings.hwrTimeoutForCjk.
- The usage of these properties depends on the plugins (e.g. T9 Write).
[ChangeLog] Add new settings VirtualKeyboardSettings.hwrTimeoutForAlphabetic
and VirtualKeyboardSettings.hwrTimeoutForCjk to allow the application to
adjust the handwriting recognition timeout.
Change-Id: Id80de20c3ebc8ff97741cf6514b987070d55d66e
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
| |
Amend to commit 6421dbd5
Add revision to changed signal.
Change-Id: I032e1ccaa3b74f2717e430f14f1142cd9a53d197
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The default userDataPath is set to QStandardPaths::GenericConfigLocation.
- Add a signal for application to indicate user data reset.
[ChangeLog] Added new property to settings
VirtualKeyboardSettings.userDataPath. This allows the application
or middleware to change the path to user files at runtime. Added
also a signal to indicate user data reset - when the application
triggers the signal, the virtual keyboard closes all files in the
user's directory.
Change-Id: I248a5b08c86b3fe7124a8d3f362c8f72e07b92c0
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
'qt-configure-module' has different mechanism to evaluate features
than the regular configure script. It's necessary to find required
XCB components in CMakeLists.txt in this case to have XCB::XFIXES
available. Change condition for vkb-xcb feature to correct one.
Fixes: QTBUG-89979
Change-Id: I91316bde6d4c3ff400fdcb51b9faccfc0e1cf0a0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- KeyboardObserver provides access to keyboard properties. Currently
it contains a property to access keyboard layout. One possible use
case of the KeyboardObserver is for input methods that use the
keyboard layout for more accurate spell correction.
- Add BaseKey.keyType property: This property holds the key type at
runtime.
v2: Ensure keyboard observer is set before input mode
- Fixes crash if the input panel instance is destroyed and created again.
In such case, the keyboard observer is not assigned before the next
input mode is set.
v3: Fix keyboard layout observer for keys that are invisible
v4: Update CMake project
- Skip keys that are invisible.
Change-Id: I820ce3a575397885eb6310722c3f2c6dffcf325c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each handwriting trace requires a canvas. Previously the canvases
were destroyed after the trace is discarded. This might not be the
optimal way to handle the canvas component.
This change modifies the canvas creation and preserves the existing
canvases and recycles them for reuse. Also, a handful of canvases
are now created at startup to reduce the latency at initial drawing.
The total number of canvases is now limited as well. If the inventory
runs out and the maximum number is reached, the oldest drawing will
be reused, even if it was visible on the screen.
Due to fact that the Trace object may be unreferenced before they are
discarded, it is now mandatory to set ownership to QVirtualKeyboardTrace
objects.
v2: Fix the order in which the canvas recycling happens
v3: Fix bug where the canvases were not actually recycled
Change-Id: Ia26bc96ab1405a578a29420e419abe8e420fb712
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
InputPanel contained double mapping of keyboardRectangle to QML
root. The problem was that inputPanel.x and y were already relative
to parent so mapToItem(null) doubled the value.
Use function to calculate the rectangle. This function also
references the position of the inputPanel, so it is properly
updated in the Binding.
Task-number: QTBUG-85554
Pick-to: 5.15
Change-Id: Iaf5075f31f27bc08bbf41aa5960303705135cd16
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ia639b1aad48805ac472c2fde3791e6945fdaf38c
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Amend to commit 2dadd235
Updated by running configurejson2cmake.py
Task-number: QTBUG-90297
Change-Id: I791874f664c61ee257571da2f7b74e3b635475d1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the alternativeKeys contain 2 items and the main key is at index 1, the
effectiveAlternativeKeysHighlightIndex is calculated incorrectly resulting
in QML warning.
This is not an issue for any of the existing keyboard layouts, which don't
have such configuration. However, better to fix it for future.
Change-Id: I3239476b49ed4cc72fc8f772678981051f90bbe0
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
| |
When WCL menu is opened for the first item it may
exceed the left boundary of the keyboard.
Change-Id: I8a8e3438c2bc9fdecfa91c0a374c672c4db2b4f3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If keyboard is dismissed while the WCL menu is
active, the following error is produced:
qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:1302: TypeError: Cannot read property 'width' of null
It is caused by accessing currentItem of a list
without checking null value.
Change-Id: I716e1f10d192169f28de9951e10a0a472e4dd14a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When press and hold at keyboard, moving on top of WCL,
the WCL menu (e.g. Block Word) will popup when it should not.
This functionality is meant for arrow key navigation mode and
was caused by missing check.
Fixed by adding a check for arrow key navigation mode.
Change-Id: If294668589ca4f46305e9f371470fdcfac7b1406
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|