TraceInputKey QML Type
タッチ入力データを収集するための専用キー。詳細...
| Import Statement: | import QtQuick.VirtualKeyboard.Components |
| Since: | QtQuick.VirtualKeyboard 2.0 |
| Inherits: |
プロパティ
- boundingBox : alias
- canvasType : alias
- horizontalRulers : alias
- patternRecognitionMode : alias
- verticalRulers : alias
- weight : real
詳細説明
このタイプはキーボードレイアウトに配置できます。キー領域からのタッチ入力データ(トレース)を収集し、レンダリングします。
プロパティのドキュメント
boundingBox : alias [read-only]
トレース入力のバウンディングボックス。
このプロパティは読み取り専用であり、アイテムのサイズと余白に基づいて自動的に更新されます。
canvasType : alias
このトレース入力領域のキャンバス種別。
このプロパティは、異なる種類のキャンバスを区別するために使用できます。デフォルト値は"keyboard" です。
horizontalRulers : alias
入力領域内の水平ルーラーの一覧。
ルーラーは、バウンディングボックスの上端からのピクセル数として定義されます。
以下に、ルーラーの定義方法を示す例を示します:
horizontalRulers: [boundingBox.height / 3, boundingBox.height / 3 * 2]
verticalRulers: [boundingBox.width / 3, boundingBox.width / 3 * 2]patternRecognitionMode : alias
この入力領域のパターン認識モード。
デフォルト値はInputEngine.PatternRecognitionMode.None です。
verticalRulers : alias
入力領域内の垂直ルーラーの一覧。
ルーラーは、バウンディングボックスの左端からのピクセル数として定義されます。
weight : real
キーの相対的なサイズを決定するキーの重み値を設定します。
このプロパティを使用して、レイアウト内のキーのサイズを変更します。
デフォルト値は、レイアウト階層におけるキーの親要素から継承されます。
© 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.