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.