Qt3DInput::QInputChord Class
class Qt3DInput::QInputChordQInputChord는 한 번에 트리거되어야 하는 일련의 QAbstractActionInput 를 나타냅니다. 더 보기...
| 헤더: | #include <qinputchord.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| QML에서: | InputChord |
| 상속: | Qt3DInput::QAbstractActionInput |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않을 것을 강력히 권장합니다.
속성
- timeout : int
공개 함수
| QInputChord(Qt3DCore::QNode *parent = nullptr) | |
| void | addChord(Qt3DInput::QAbstractActionInput *input) |
| QList<Qt3DInput::QAbstractActionInput *> | chords() const |
| void | removeChord(Qt3DInput::QAbstractActionInput *input) |
| int | timeout() const |
공개 슬롯
| void | setTimeout(int timeout) |
신호
| void | timeoutChanged(int timeout) |
속성 문서
timeout : int
입력 코드 내의 모든 QAbstractActionInput이 트리거되어야 하는 시간입니다. 이 시간은 밀리초 단위로 표시됩니다.
액세스 함수:
| int | timeout() const |
| void | setTimeout(int timeout) |
Notifier 시그널:
| void | timeoutChanged(int timeout) |
멤버 함수 문서
[explicit] QInputChord::QInputChord(Qt3DCore::QNode *parent = nullptr)
parent 를 부모로 하는 새로운 QInputChord 객체를 생성합니다.
void QInputChord::addChord(Qt3DInput::QAbstractActionInput *input)
이 QInputChord 의 코드 벡터 끝에 QAbstractActionInput input 을 추가합니다.
removeChord도 참조하십시오 .
QList<Qt3DInput::QAbstractActionInput *> QInputChord::chords() const
QInputChord 의 코드 벡터를 반환합니다.
void QInputChord::removeChord(Qt3DInput::QAbstractActionInput *input)
이 QInputChord 의 코드 벡터에서 QAbstractActionInput input 을 제거합니다.
addChord도 참조하십시오 .
[slot] void QInputChord::setTimeout(int timeout)
입력 코드 내의 모든 QAbstractActionInput이 트리거되어야 하는 시간을 timeout 로 설정합니다. 시간은 밀리초 단위입니다.
참고: timeout 속성에 대한설정자 함수입니다.
timeout()도 참조하십시오 .
© 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.