QAbstractPhysicalDevice Class
class Qt3DInput::QAbstractPhysicalDeviceQAbstractPhysicalDevice ist die Basisklasse, die von Qt3d zur Interaktion mit beliebigen Eingabegeräten verwendet wird. Mehr...
Kopfzeile: | #include <QAbstractPhysicalDevice> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
In QML: | AbstractPhysicalDevice |
Vererbt: | Qt3DCore::QNode |
Vererbt von: | Qt3DInput::QAbstractPhysicalDeviceProxy, Qt3DInput::QKeyboardDevice, und Qt3DInput::QMouseDevice |
Status: | Veraltet |
Öffentliche Funktionen
QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr) | |
void | addAxisSetting(Qt3DInput::QAxisSetting *axisSetting) |
virtual int | axisCount() const |
virtual int | axisIdentifier(const QString &name) const |
virtual QStringList | axisNames() const |
QList<Qt3DInput::QAxisSetting *> | axisSettings() const |
virtual int | buttonCount() const |
virtual int | buttonIdentifier(const QString &name) const |
virtual QStringList | buttonNames() const |
void | removeAxisSetting(Qt3DInput::QAxisSetting *axisSetting) |
Dokumentation der Mitgliedsfunktionen
[explicit]
QAbstractPhysicalDevice::QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr)
Konstruiert eine neue QAbstractPhysicalDevice-Instanz mit parent.
void QAbstractPhysicalDevice::addAxisSetting(Qt3DInput::QAxisSetting *axisSetting)
Fügen Sie die Achseneinstellung axisSetting zu diesem Gerät hinzu.
[virtual]
int QAbstractPhysicalDevice::axisCount() const
Gibt die Anzahl der Achsen zurück, die dieses Gerät hat.
[virtual]
int QAbstractPhysicalDevice::axisIdentifier(const QString &name) const
Gibt die ganzzahlige Kennung der Achse name zurück oder -1, wenn sie auf diesem Gerät nicht vorhanden ist.
[virtual]
QStringList QAbstractPhysicalDevice::axisNames() const
Gibt eine Liste der Namen der Achsen des Geräts zurück.
QList<Qt3DInput::QAxisSetting *> QAbstractPhysicalDevice::axisSettings() const
Gibt die mit diesem Gerät verbundenen axisSettings zurück.
[virtual]
int QAbstractPhysicalDevice::buttonCount() const
Gibt die Anzahl der Tasten zurück, die dieses Gerät hat.
[virtual]
int QAbstractPhysicalDevice::buttonIdentifier(const QString &name) const
Gibt die Integer-Kennung der Schaltfläche name zurück oder -1, wenn sie auf diesem Gerät nicht vorhanden ist.
[virtual]
QStringList QAbstractPhysicalDevice::buttonNames() const
Gibt eine Liste der Namen der Tasten des Geräts zurück.
void QAbstractPhysicalDevice::removeAxisSetting(Qt3DInput::QAxisSetting *axisSetting)
Entfernen Sie die Achseneinstellung axisSetting für dieses Gerät.
© 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.