InputSequence QML Type

Qt3DInput::QInputSequence C++ クラスの QML フロントエンド。詳細...

Import Statement: import Qt3D.Input 2.8
In C++: QInputSequence
Status: Deprecated

プロパティ

信号

詳細説明

次々にトリガーされなければならないQAbstractActionInputのセットを表す。

以下の例では、AキーとSキーを一緒に押すことによってトリガーされる和音を示しています。

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 である。


© 2025 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.