QAbstractPhysicalDeviceProxy Class
class Qt3DInput::QAbstractPhysicalDeviceProxyQt3DInput::QAbstractPhysicalDeviceProxy fungiert als Proxy für ein tatsächliches Qt3DInput::QQAbstractPhysicalDevice-Gerät. Mehr...
Kopfzeile: | #include <QAbstractPhysicalDeviceProxy> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Vererbt: | Qt3DInput::QAbstractPhysicalDevice |
Status: | Veraltet |
Öffentliche Funktionen
QString | deviceName() const |
Qt3DInput::QAbstractPhysicalDeviceProxy::DeviceStatus | status() const |
Signale
void | statusChanged(Qt3DInput::QAbstractPhysicalDeviceProxy::DeviceStatus status) |
Detaillierte Beschreibung
Qt3DInput::QAbstractPhysicalDeviceProxy kann verwendet werden, um ein physisches Gerät für die Benutzer sichtbar zu machen. Damit entfällt die Notwendigkeit, die Achsen und Tasten anhand ihrer Namen zu untersuchen.
Sie wird typischerweise durch Unterklassifizierung verwendet, die es ermöglicht, den Gerätenamen festzulegen und Enums für die verschiedenen Achsen und Tasten Ihres Zielgeräts zu definieren.
Zur Laufzeit wird die Statuseigenschaft aktualisiert, um widerzuspiegeln, ob ein tatsächliches Gerät, das dem Gerätenamen entspricht, erstellt werden konnte.
© 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.