| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- Introduce SENSITIVE_DEBUG flag that should be explicitly enabled
in order to have certain information included in logging output.
- Replace qWarning() with qCWarning() where appropriate.
Change-Id: I6386f9cb3ce375101f3c42f407d4af380f1ff75e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Qt Virtual Keyboard has a different main license than most other Qt
modules, which is easy to miss. We do show the license on the module
landing page and in the 'All modules' overview page, but if you
directly open an example or a class page you can still miss this.
This change adds the main license description to the header shared
by all pages of the module; we (mis)use the buildversion variable for
that, which was so far unused.
Right now qdoc does not 'linkify' the entry. It could add a generic
link to the landing page though, where the license is also described.
Task-number: QTBUG-70354
Change-Id: I5f271b1bcba6992abfd1ad7e213fc5f2a93a0d25
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-70602
Change-Id: I04a7015b6ee41dd9676f8b5859399e9758e7de1f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stop auto hide timer when the word candidate list is not empty.
Constantly failing CI bot revealed this error:
agent:2018/09/24 07:50:50 build.go:193: FAIL! : inputpanel::tst_plugin::test_zhuyinInputMethod(row 17) 'Expected wordCandidateView to have a currentItem, but it's null. Its property values at the time of failure are: x=0 y=-9.478976 width=400 height=13 count=0 flicking=false moving=false visible=false' returned FALSE. ()
Task-number: QTBUG-62518
Task-number: QTBUG-61279
Task-number: QTQAINFRA-2226
Change-Id: I775aa834da9809008a34fc760e994610ad6e95a8
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
With the 30479f9771e60938dc0f6e325e3b16fb52663796 patch applied it would
mean that the keyboard would not show up in desktop mode. Therefore the
patch is partially reverted to still have the original crash fix
without introducing a new bug.
Change-Id: I1a0c84eef0a592990ccd7ff754069ad150dc7a69
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Under some condition, QPlatformInputContext::update is called before
our (QML) input context is created. This will result in crash if
desktop integration is also enabled, since null pointer check is
missing.
[ChangeLog] Fixed possible crash in PlatformInputContext::update.
Task-number: QTBUG-67595
Change-Id: I19c78dbf19cf3c2a72193c2e2a60f46995c1f6ad
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
When layout mirroring is enabled for an application using
virtual keyboard, the keyboard layout is also mirrored.
This change disables layout mirroring for virtual keyboard.
Task-number: QTBUG-70041
Change-Id: I097ae7fe907a463ef53e5f39f357c61d57bbb9c0
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SelectionControl on the InputPanel was not disabled when using
desktop integration. This caused duplicated handles to appear
on screen.
This change disables the SelectionControl when desktop integration
is used.
Task-number: QTBUG-60321
Change-Id: Icf7cab4bdeacade16bbe2b1eb2078baceb955d5e
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
|
| |
Change-Id: Id27ebb78001ff060d67917e9ac69f75682a885ac
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
So far I've been unable to reproduce the flakiness with
a Windows CI VM, so let's add some extra context to the warning
message that is printed before the test (sometimes) fails.
Task-number: QTBUG-62518
Change-Id: Idebaadb93fe2f38a94a9f096bc044b28171afafd
Reviewed-by: Liang Qi <liang.qi@qt.io>
|
|
|
|
|
|
|
|
|
| |
This patch updates the VirtualKeyboardSettings class to use
QRegularExpression in place of QRegExp which is to be considered
deprecated.
Change-Id: Ib7cecc0070f86b63793e3f3876a44710a0ecc394
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
| |
This patch updates the HunspellBuildSuggestionsTask class to use
QRegularExpression in place of QRegExp which is to be considered
deprecated.
Change-Id: I6db18a46b380a27fff0970baec2809192555a984
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Provide an overview of handwriting recognition support
- Add a GIF
- List languages supported by each engine
Task-number: QTBUG-68624
Change-Id: I26af8b8984fabd74855d067bd9818f6db0136cec
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
| |
Change-Id: Ie2e07a5ec8f7ef4a7728db7c458319e75cda41ee
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change modifies encoding of the following environment variables:
- QT_VIRTUALKEYBOARD_HUNSPELL_DATA_PATH
- QT_VIRTUALKEYBOARD_PINYIN_DICTIONARY
- QT_VIRTUALKEYBOARD_CANGJIE_DICTIONARY
- QT_VIRTUALKEYBOARD_ZHUYIN_DICTIONARY
- QT_VIRTUALKEYBOARD_PHRASE_DICTIONARY
- QT_VIRTUALKEYBOARD_LAYOUT_PATH
- LIPI_ROOT
- LIPI_LIB
Previously they were read using qgetenv and latin1 encoding. Now they
are read using qEnvironmentVariable, which handles the encoding properly.
[ChangeLog] Fixed encoding of path environment variables.
Task-number: QTBUG-62328
Change-Id: I8e32c111a498d3b57259fe6dd96290545f10030a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes warnings like:
qrc:/QtQuick/VirtualKeyboard/content/styles/default/style.qml:136:9: QML Rectangle: Cannot anchor to an item that isn't a parent or sibling.
[ChangeLog] Fixed qml anchor warnings from default styles
Task-number: QTBUG-67677
Change-Id: I9d079dc02e9530431020c19ac3a5db9cee6f76a1
(cherry picked from commit 7e8a17f8af88b3434f9d5763dd528a29ec40bf8c)
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
|
|
|
|
|
|
|
|
|
|
| |
Add a new "Qt Virtual Keyboard Layouts" page that lists all languages
along with screenshots of each one.
Task-number: QTBUG-67645
Change-Id: Ibb15924cec841f43c7205951fb80c9d7e13362c1
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ic81beeb940e5595f9f54695a28eb3cb25e19a052
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
assignment in condition
Fix clang-cl warning:
openwnninputmethod.cpp:312: using the result of an assignment as a condition without parentheses [-Wparentheses]
Drop unneeded braces on that occasion.
Task-number: QTBUG-63512
Change-Id: Ie9137bedf07d6728282be554fb21893246ae1e96
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we were only building all languages when the module was
built with a developer build of Qt and for auto tests. However, since
users have to build the example themselves (since we don't provide
example binaries), they will only see en_GB by default.
This change makes it so that the user will have access to all available
languages by default. Users that don't want or need all languages for
their application can specify individual languages with e.g.
CONFIG+=lang-es_ES.
Change-Id: I643ab6c7a1f01426a3ef86a886a4a4dd10ad00f6
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a build error on QNX:
share/../include/userdict.h:130:20: error: field 'load_time' has
incomplete type 'ime_pinyin::timeval'
share/../include/userdict.h:130:12: note: forward declaration of
'struct ime_pinyin::timeval'
Change-Id: Id7fc041d7f935fcca72b87b0bfcfd34afa4d8070
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Full screen mode covers the entire screen when enabled. However, if also
VirtualKeyboardSettings.wordCandidateList.alwaysVisible is true, the word
candidate area was subtracted from the full screen mode area.
This change fixes the issue, and does not subtract the area in this case.
[ChangeLog] Fix full screen edit mode with word candidate list always visible.
Task-number: QTBUG-67510
Change-Id: I816ccdb22be01e2f86fccacc6ba946ea202815ae
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
keyboardRectangle was not correct because the binding was in
the wrong place.
This change moves the binding to InputPanel, which then can map
the keyboard location to itself, or to root item.
Change-Id: I471df13d5381ec9b0e1b80369590bc608d17ae91
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
| |
QTBUG-66675 is fixed now.
This reverts commit 7db26902b36e3417a96586f98278b63afc0b0ad4.
Change-Id: Ifc02a9ba4ce4fcb0dd7ecf9e48fab42e332648a5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
QDoc in Qt 5.11 uses Clang to parse the C++ source for documentation.
for this, Clang needs a module header which is not available for
Qt Virtual Keyboard - construct a custom one for documentation builds
and fix all remaining documentation warnings; \fn command syntax and
one linking issue.
Change-Id: I1e9b2170aca98782e9d6a758e84c9d17449cb25c
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replace custom text input types with corresponding
Qt Quick Controls 2 types.
- Replace custom scrollbar with ScrollBar from Qt Quick Controls 2.
- Only build the basic example if Qt Quick Controls 2 is available.
- Update the documentation and its screenshot.
Change-Id: Ib2559595d4a589bb228450bc08be5ab6fbc69b91
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
|
|
|
|
|
|
|
|
|
| |
This reverts commit 5f80f66d3b5878bba021d4ac67e35388bfe84fdb,
as it caused QTBUG-66675 and blocks the module.
Let's re-apply this when the bug in declarative is fixed.
Change-Id: Ice2dc9b9e7c8fd85d59fc0dfc324e4574c9140fd
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
With the QtQuickCompiler compatibility in place in qtdeclarative, we can by
default compile all qml files ahead of time, embed the cache files into
resources and avoid shipping the original sources. This simplifies distribution
and reduces the size of the overall package, ~1.6 MB for
libqtvirtualkeyboardplugin.so on Linux x86-64.
Change-Id: Ic3c20f43dfac6e601389b581033dcaf6f7015443
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
| |
Change-Id: I44f54d94e52626755a480f6ded8b740039dc49ac
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|\
| |
| |
| | |
Change-Id: Id2c6a6993190c1860645bf3fc9952010f9f7bdc7
|
| |\
| | |
| | |
| | | |
Change-Id: I5b4a9d3a92bb165c12cb74e6435387c06495b090
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As was done for QtQuick.VirtualKeyboard in 945afc07.
This ensures that Creator doesn't treat the import as unknown.
Task-number: QTBUG-63213
Change-Id: I155dc2beb60f83942521699bd9960924d51aa02a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0f2481b2650a0a43623e8ece21d89e668c348a86
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QtQuickCompiler workarounds are no longer required with Qt 5.11 and need
to be removed to fix build failure where private/qqmlmetatype_p.h was not
found, since QT+=qml-private is no longer done by qtquickcompiler.prf.
Change-Id: I48f640a5b7196b295de89589d14061011ed920fc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I84cccac7024c1c48b6419838bb424e45cb2557d4
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I817d5980ab3132256894b04ddc8daf79d8fc0495
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
They are unused since 97d9648f5d950ea7d7b64f5c2db67359e8f47013.
Change-Id: I1b041712080d27a99a29e51f6f154601d38e2bf4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Check if the string is empty before calling QFile::exists().
Change-Id: Ib6640e05272ee67dad48bd6874a5064eda4ba3dc
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: I4d0130911f5fbf897006aca74614a57d5dc0d967
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-60664
Change-Id: If27459f44dbd4c4c7f5f6d0d8d8826f3c7f5a030
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The language list filter mechanism 'customLayoutsOnly' was implemented
for language toggle function and does not make sense when language is
selected from a list.
Change-Id: Ibe834c07a0a851a7beabf8cc40997ab6a22cc769
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \
| | |/ /
| |/| |
| | | | |
Change-Id: I5a7bd61e95ee062299b28e27aad22858d9b1d052
|
| |\ \ \
| | |/ /
| |/| /
| | |/ |
Change-Id: Ibc2d7de394ba34863ba56a3b3eac05aab2921112
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
...such as VxWorks. Normally, the Qt dependency pulls in pthread,
because the qt feature adds the thread feature (which in turn adds
pthread and other necessary flags to the compiler and linker command
lines), but in this case we don't have Qt so it must be manually added.
Use the higher level abstraction instead of the direct -pthread flag,
so that the compiler and linker flags used are taken from mkspecs.
Task-number: QTBUG-63516
Change-Id: I88876810129078dfe4898314e45379ff87f95b80
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I471b847231e6c09a79d8f0b1695a15b4651839da
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The ternary expressions were the wrong way around.
This patch also makes the disabled EnterKey text more visible, as it
was very hard to see before.
Change-Id: I73b61ac7076e4c132c78e2c40be294e45bef3cc9
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Calling InputEngine::setInputMethod(null) did not clear the pointer
value stored in SelectionListModelPrivate.
Also, in case the input method is destroyed without setting it null,
prevent use of dangling pointer in selection list model by using
QPointer.
Task-number: QTBUG-61308
Change-Id: If340d99a63489c54414497c61cd482e06a21c5ee
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In addition, fix repetetive invocation of end().
Change-Id: I69c659e566dab8957cae3f50ae3e2671d0cc1ba3
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|