이 페이지에서

InputSequence QML Type

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

Import Statement: import Qt3D.Input 2.12
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 입니다.

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