InputChord QML Type
Qt3DInput::QInputChord C++ 클래스를 위한 QML 프론트엔드. 더 보기...
| Import Statement: | import Qt3D.Input 2.12 |
| In C++: | QInputChord |
| Inherits: | |
| 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]
}
]
}속성 설명
chords : list<AbstractActionInput>
이 집계 입력을 트리거하기 위해 반드시 호출되어야 하는 AbstractActionInput 목록입니다.
timeout : int
© 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.