이 페이지에서

Qt3DInput::QInputSettings Class

class Qt3DInput::QInputSettings

QInputSettings 클래스는 입력 이벤트 소스 객체에 대한 포인터를 보유합니다. 더 보기...

헤더: #include <qinputsettings.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
QML에서: InputSettings
상속: Qt3DCore::QComponent
상태: 사용 중단됨

이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.

속성

공개 함수

QObject *eventSource() const

공개 슬롯

void setEventSource(QObject *eventSource)

신호

void eventSourceChanged(QObject *)

상세 설명

QInputSettings 컴포넌트는 씬 루트 엔티티의 컴포넌트로 설정되어야 합니다. 이 컴포넌트는 다양한 입력 클래스에서 처리할 입력 이벤트의 소스 역할을 하는 객체에 대한 포인터를 저장합니다. 예를 들어, QWindow 인스턴스가 이벤트 소스가 될 수 있습니다.

QMouseDevice 및 QKeyboardDevice도 참조하십시오 .

속성 설명서

eventSource : QObject*

현재 이벤트 소스를 보관합니다. 이벤트 소스는 마우스나 키보드 이벤트와 같은 다양한 입력 이벤트를 수신할 수 있는 객체입니다. 일반적으로 ` QWindow ` 인스턴스입니다.

액세스 함수:

QObject *eventSource() const
void setEventSource(QObject *eventSource)

Notifier 신호:

void eventSourceChanged(QObject *)

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