QKeyboardDevice Class

class Qt3DInput::QKeyboardDevice

Q키보드디바이스는 키보드 이벤트를 연결된 QQ키보드핸들러 객체에 보내는 일을 담당합니다. 더 보기...

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

속성

공용 함수

QKeyboardDevice(Qt3DCore::QNode *parent = nullptr)
Qt3DInput::QKeyboardHandler *activeInput() const

재구현된 공용 함수

virtual int axisCount() const override
virtual int axisIdentifier(const QString &name) const override
virtual QStringList axisNames() const override
virtual int buttonCount() const override
virtual int buttonIdentifier(const QString &name) const override
virtual QStringList buttonNames() const override

신호

void activeInputChanged(Qt3DInput::QKeyboardHandler *activeInput)

상세 설명

프로퍼티 문서

[read-only] activeInput : Qt3DInput::QKeyboardHandler* const

기기의 활성 QKeyboardHandler 을 유지합니다.

기능에 액세스합니다:

Qt3DInput::QKeyboardHandler *activeInput() const

알림 신호:

void activeInputChanged(Qt3DInput::QKeyboardHandler *activeInput)

멤버 기능 문서

[explicit] QKeyboardDevice::QKeyboardDevice(Qt3DCore::QNode *parent = nullptr)

parent 를 사용하여 새 QKeyboardDevice 인스턴스를 생성합니다.

[override virtual] int QKeyboardDevice::axisCount() const

재구현합니다: QAbstractPhysicalDevice::axisCount() const.

축 수를 반환합니다.

참고: 현재는 항상 0을 반환합니다.

[override virtual] int QKeyboardDevice::axisIdentifier(const QString &name) const

재구현합니다: QAbstractPhysicalDevice::axisIdentifier(const QString &name) const.

name 와 일치하는 축 식별자를 리턴합니다.

[override virtual] QStringList QKeyboardDevice::axisNames() const

재구현합니다: QAbstractPhysicalDevice::axisNames() const.

축 이름을 반환합니다.

참고: 현재는 항상 비어있는 QStringList 을 반환합니다.

[override virtual] int QKeyboardDevice::buttonCount() const

재구현합니다: QAbstractPhysicalDevice::buttonCount() const.

버튼 수를 반환합니다.

[override virtual] int QKeyboardDevice::buttonIdentifier(const QString &name) const

재구현합니다: QAbstractPhysicalDevice::buttonIdentifier(const QString &name) const.

name 와 일치하는 buttonIdentifier를 리턴합니다.

[override virtual] QStringList QKeyboardDevice::buttonNames() const

재구현합니다: QAbstractPhysicalDevice::buttonNames() const.

버튼 이름을 반환합니다.

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