TraceInputArea QML Type
|Import Statement:||import QtQuick.VirtualKeyboard 2.0|
- boundingBox : rect
- canvasType : string
- horizontalRulers : var
- patternRecognitionMode : int
- verticalRulers : var
This type handles the trace interaction between the touch screen and the input engine.
The traces are rendered using the delegate from the current style KeyboardStyle.traceCanvasDelegate.
[read-only] boundingBox : rect
Bounding box for the trace input.
This property is readonly and is automatically updated based on the item size and margins.
Canvas type of this trace input area.
This property can be used to distinguish between different types of canvases. For example, in full screen handwriting mode this property is set to "fullscreen", and in keyboard handwriting mode this property is set to "keyboard".
horizontalRulers : var
List of horizontal rulers in the input area.
The rulers are defined as a number of pixels from the top edge of the boundingBox.
Here is an example how to define rulers:
horizontalRulers: [boundingBox.height / 3, boundingBox.height / 3 * 2] verticalRulers: [boundingBox.width / 3, boundingBox.width / 3 * 2]
Pattern recognition mode of this input area.
The default value is InputEngine.PatternRecognitionDisabled.
verticalRulers : var
List of vertical rulers in the input area.
The rulers are defined as a number of pixels from the left edge of the boundingBox.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.