QInputChord Class

class Qt3DInput::QInputChord

QInputChord는 한 번에 트리거되어야 하는 QAbstractActionInput 의 집합을 나타냅니다. 더 보기...

헤더: #include <QInputChord>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
QML에서: InputChord
상속합니다: Qt3DInput::QAbstractActionInput
상태: Deprecated

속성

공용 기능

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)

알림 신호:

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()도 참조하세요 .

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