QInputSettings Class
class Qt3DInput::QInputSettingsQInputSettings 클래스는 입력 이벤트 소스 개체에 대한 포인터를 보유합니다. 더 보기...
Header: | #include <QInputSettings> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
QML에서: | InputSettings |
상속합니다: | Qt3DCore::QComponent |
상태: | Deprecated |
속성
- eventSource : QObject*
공용 기능
QObject * | eventSource() const |
공용 슬롯
void | setEventSource(QObject *eventSource) |
신호
void | eventSourceChanged(QObject *) |
상세 설명
QInputSettings 컴포넌트는 씬 루트 엔티티의 컴포넌트로 설정해야 합니다. 여기에는 다양한 입력 클래스에서 처리할 입력 이벤트의 소스 역할을 하는 객체에 대한 포인터가 저장됩니다. 예를 들어 QWindow 인스턴스가 이벤트 소스가 될 수 있습니다.
QMouseDevice 및 QKeyboardDevice 을참조하세요 .
© 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.