InputChord QML Type

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

Import Statement: import Qt3D.Input 2.8
In C++: QInputChord
Inherits:

AbstractActionInput

Status: Deprecated

プロパティ

詳細説明

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

以下の例では、G、D、J キーを順に押すことでトリガーされるシーケンスを示しており、キーを押す間の最大時間は 1 秒、全体の最大入力時間は 3 秒です。

InputChord {
    interval: 1000
    timeout: 3000
    chords: [
       ActionInput {
            sourceDevice: keyboardSourceDevice
            keys: [Qt.Key_G]
       },
       ActionInput {
            sourceDevice: keyboardSourceDevice
            keys: [Qt.Key_D]
       },
       ActionInput {
            sourceDevice: keyboardSourceDevice
            keys: [Qt.Key_J]
       }
       ]
 }

プロパティの文書化

この集約入力をトリガーするためにトリガーされなければならないAbstractActionInput のリスト。


timeout : int


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