aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/t9writeworker.h
Commit message (Collapse)AuthorAgeFilesLines
* 3rdparty/t9write: Fix non-blocking recognitionJarkko Koivikko2017-09-081-0/+15
| | | | | | | | | | | | | | | | | | | | | | | Previously the handwriting recognition with T9 Write was blocking at the beginning of new handwriting arc. This was due to the fact that while the recognition was done in background task, the arc addition was done in main thread, so we'd had to wait for the background recognition task to complete to avoid accessing the T9 Write session in parallel. This change moves the arc addition to background task, so the main thread does not have to block for the background tasks while the handwriting is ongoing. The rationale for this change is the new UCR input mode, which consumes a lot more CPU during recognition, and the UI will become non responding. [ChangeLog] Optimize UI performance by eliminating the need to wait for previous results to be completed during T9 Write handwriting. Change-Id: I8d0cecfa4599b63ccb21c1f6a691e5f21c93158c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.9' into devLiang Qi2017-08-151-1/+1
|\ | | | | | | | | | | | | | | Conflicts: src/virtualkeyboard/t9writeworker.cpp src/virtualkeyboard/t9writeworker.h Change-Id: I1fa1567e2739766c55c0e94b10706eecb8ba2ae1
| * Compile fix for MSVC 2015 as it does not work with QAtomicInteger<bool>Andy Shaw2017-08-151-1/+1
| | | | | | | | | | | | | | This fixes the original commit - 9db37be7210d4071c8b2c7bfa98d1822075ab452 Change-Id: I6679ce07a4890f7d8d332f0400a5bbd2cc6bb577 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Add support for T9 Write CJKJarkko Koivikko2017-07-081-7/+17
|/ | | | | | | | | | | | | 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>
* Allow for separate threads accessing the abort variable at the same timeAndy Shaw2017-05-041-1/+1
| | | | | | | | | | | This fixes a problem reported by Intel Inspector 2016 which indicated that multiple threads could access the abort variable at the same time. So by making it atomic we avoid any problems in this regard. Task-number: QTBUG-60037 Change-Id: I79d293916f5105e8a36c41d3bc89cd1cb93e5109 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* License updateKalle Viironen2016-01-121-9/+17
| | | | | | Change-Id: I0dc6af72a3ae52a0b97b704df84fb1a8197aeeb8 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Refactor class namesJarkko Koivikko2015-10-281-1/+1
| | | | | | | | | | | | | | | | | 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>
* Wrap C++ API into namespaceJarkko Koivikko2015-10-271-0/+4
| | | | | | | | | | | | | | | 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>
* License Headers UpdateKalle Viironen2015-10-261-9/+12
| | | | | Change-Id: Iba2bd21b95dde1aac5750ac77856716e0c61e577 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* Add T9Write implementation of HandwritingInputMethodJarkko Koivikko2015-10-071-0/+168
This change adds T9Write implementation of HandwritingInputMethod. To use the T9Write, the contents of T9Write sdk must be extracted to srv/virtualkeyboard/3rdparty/t9write directory and the qmake command line must contain CONFIG+=t9write. Change-Id: Ib56d1d3dc553bb5d5677ab03e213dc8fed43ac68 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>