InputSequence QML Type
Qt3DInput::QInputSequence のC++クラス用のQMLフロントエンド。詳細...
| Import Statement: | import Qt3D.Input 2.12 |
| In C++: | QInputSequence |
| Status: | Deprecated |
この型は非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
- buttonInterval : int
- sequences : list<AbstractActionInput>
- timeout : int
信号
詳細な説明
順番にトリガーされる必要がある一連の QAbstractActionInput を表します。
以下の例は、A キーと S キーを同時に押すことでトリガーされるコードを示しており、キー押下間の許容誤差は 10 ミリ秒です。
InputChord {
tolerance: 10
inputs: [
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_A]
},
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_S]
}
]
}プロパティのドキュメント
buttonInterval : int
入力シーケンスにおいて、連続する QAbstractActionInput 間の最大時間(ミリ秒単位)。
sequences : list<AbstractActionInput>
timeout : int
入力シーケンス内のすべての QAbstractActionInput が、この時間(ミリ秒単位)以内にトリガーされなければならない。
シグナルのドキュメント
buttonIntervalChanged()
このシグナルは、入力シーケンスのbuttonInterval が変更されたときに発火します。
対応するハンドラはonButtonIntervalChanged
注: 対応するハンドラは onButtonIntervalChanged です。
timeoutChanged()
このシグナルは、入力シーケンスのタイムアウトが変更されたときに発生します。
対応するハンドラはonTimeoutChanged
注: 対応するハンドラは onTimeoutChanged です。
© 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.