QAxis Class
class Qt3DInput::QAxisQAxis speichert QAbstractAxisInputs, um ein Eingabeereignis auszulösen. Mehr...
Kopfzeile: | #include <QAxis> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
In QML: | Axis |
Vererbt: | Qt3DCore::QNode |
Status: | Veraltet |
Eigenschaften
- value : const float
Öffentliche Funktionen
QAxis(Qt3DCore::QNode *parent = nullptr) | |
void | addInput(Qt3DInput::QAbstractAxisInput *input) |
QList<Qt3DInput::QAbstractAxisInput *> | inputs() const |
void | removeInput(Qt3DInput::QAbstractAxisInput *input) |
float | value() const |
Signale
void | valueChanged(float value) |
Eigenschaft Dokumentation
[read-only]
value : const float
Der Wert der Achse.
Zugriffsfunktionen:
float | value() const |
Melder-Signal:
void | valueChanged(float value) |
Member Function Dokumentation
[explicit]
QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)
Konstruiert eine neue QAxis-Instanz mit übergeordnetem parent.
void QAxis::addInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::addInput Fügt eine input für die Achse hinzu.
Siehe auch Qt3DInput::QAbstractAxisInput.
QList<Qt3DInput::QAbstractAxisInput *> QAxis::inputs() const
QAxis::inputs
Gibt den Vektor aller zur Achse hinzugefügten Eingänge zurück.
void QAxis::removeInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::removeInput
Entfernt eine input von der Achse.
Siehe auch Qt3DInput::QAbstractAxisInput.
© 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.