QInputAspect Class
class Qt3DInput::QInputAspectVerantwortlich für die Erstellung von physischen Geräten und die Abwicklung der damit verbundenen Aufträge. Mehr...
Kopfzeile: | #include <QInputAspect> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Vererbt: | Qt3DCore::QAbstractAspect |
Status: | Veraltet |
Öffentliche Funktionen
QInputAspect(QObject *parent = nullptr) | |
QStringList | availablePhysicalDevices() const |
Qt3DInput::QAbstractPhysicalDevice * | createPhysicalDevice(const QString &name) |
Detaillierte Beschreibung
QInputAspect ist für die Erstellung physischer Geräte zuständig. Es ist auch das Objekt, das dafür verantwortlich ist, die zu einem bestimmten Zeitpunkt auszuführenden Jobs aus dem aktuellen Input-Setup festzulegen.
Dokumentation der Mitgliedsfunktionen
[explicit]
QInputAspect::QInputAspect(QObject *parent = nullptr)
Konstruiert einen neuen QInputAspect mit parent.
QStringList QInputAspect::availablePhysicalDevices() const
Gibt eine Liste aller verfügbaren physischen Geräte zurück.
Qt3DInput::QAbstractPhysicalDevice *QInputAspect::createPhysicalDevice(const QString &name)
Erstellt ein physisches Gerät, das durch name identifiziert wird, unter Verwendung der vorhandenen Eingabegeräteintegrationen und gibt nullptr
zurück, wenn es nicht gefunden wird.
Hinweis: Der Aufrufer ist für den Besitz verantwortlich.
© 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.