InputSequence QML Type

Qt3DInput::QInputSequence C++ 클래스를 위한 QML 프론트엔드. 더 보기...

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

속성

신호

상세 설명

차례로 트리거되어야 하는 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 입니다.


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