aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/content/content.qrc
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-02-12 10:07:00 +0200
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-06-17 12:33:42 +0300
commit28cf4492839f598a3058d40feab37a3274a02771 (patch)
treeb219ffa5c0679f8f99e454d65be5103c900ea14a /src/virtualkeyboard/content/content.qrc
parentd0ded0ea4a0f322fe1fd54348ad0e0b4ae74a1af (diff)
Add support for pattern recognition based input methods
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>
Diffstat (limited to 'src/virtualkeyboard/content/content.qrc')
-rw-r--r--src/virtualkeyboard/content/content.qrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/virtualkeyboard/content/content.qrc b/src/virtualkeyboard/content/content.qrc
index 51ec1896..6c23d86a 100644
--- a/src/virtualkeyboard/content/content.qrc
+++ b/src/virtualkeyboard/content/content.qrc
@@ -22,5 +22,8 @@
<file>components/ShiftKey.qml</file>
<file>components/SpaceKey.qml</file>
<file>components/SymbolModeKey.qml</file>
+ <file>components/TraceInputKey.qml</file>
+ <file>components/TraceInputArea.qml</file>
+ <file>components/HandwritingModeKey.qml</file>
</qresource>
</RCC>