TraceInputArea QML Type
タッチ入力データを収集するための専用のMultiPointTouchArea 。詳細...
| Import Statement: | import QtQuick.VirtualKeyboard.Components |
| Since: | QtQuick.VirtualKeyboard 2.0 |
| Inherits: |
プロパティ
- boundingBox : rect
- canvasType : string
- horizontalRulers : var
- patternRecognitionMode : int
- verticalRulers : var
詳細な説明
この型は、タッチスクリーンと入力エンジン間のトレースのやり取りを処理します。
トレースは、現在のKeyboardStyle のtraceCanvasDelegate プロパティから取得したデリゲートを使用してレンダリングされます。
プロパティのドキュメント
boundingBox : rect [read-only]
トレース入力のバウンディングボックス。
このプロパティは読み取り専用であり、項目のサイズと余白に基づいて自動的に更新されます。
canvasType : string
このトレース入力領域のキャンバス種別。
このプロパティは、異なる種類のキャンバスを区別するために使用できます。たとえば、フルスクリーン手書きモードではこのプロパティは"fullscreen" に設定され、キーボード手書きモードでは"keyboard" に設定されます。
horizontalRulers : var
入力領域内の水平ルーラーの一覧。
ルーラーは、boundingBox の上端からのピクセル数として定義されます。
以下に、定規の定義方法を示す例を示します:
horizontalRulers: [boundingBox.height / 3, boundingBox.height / 3 * 2]
verticalRulers: [boundingBox.width / 3, boundingBox.width / 3 * 2]patternRecognitionMode : int
この入力領域のパターン認識モード。
デフォルト値はInputEngine.PatternRecognitionMode.None です。
verticalRulers : var
入力領域内の垂直ルーラーの一覧。
これらの定規は、boundingBox の左端からのピクセル数として定義されています。
© 2026 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.