Qt3DInput::QAxis Class
class Qt3DInput::QAxisQAxis memorizza gli oggetti QAbstractAxisInputs utilizzati per attivare un evento di input. Per saperne di più...
| Intestazione: | #include <qaxis.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| In QML: | Axis |
| Eredita da: | Qt3DCore::QNode |
| Stato: | Obsoleto |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Proprietà
- value : float
Funzioni pubbliche
| QAxis(Qt3DCore::QNode *parent = nullptr) | |
| void | addInput(Qt3DInput::QAbstractAxisInput *input) |
| QList<Qt3DInput::QAbstractAxisInput *> | inputs() const |
| void | removeInput(Qt3DInput::QAbstractAxisInput *input) |
| float | value() const |
Segnali
| void | valueChanged(float value) |
Documentazione delle proprietà
[read-only] value : float
Il valore dell'asse.
Funzioni di accesso:
| float | value() const |
Segnale di notifica:
| void | valueChanged(float value) |
Documentazione delle funzioni membro
[explicit] QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)
Crea una nuova istanza di QAxis con il genitore parent.
void QAxis::addInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::addInput Aggiunge un oggetto ` input ` per l'asse.
Vedi anche Qt3DInput::QAbstractAxisInput.
QList<Qt3DInput::QAbstractAxisInput *> QAxis::inputs() const
QAxis::inputs
Restituisce un vettore contenente tutti gli input aggiunti all'asse.
void QAxis::removeInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::removeInput
Rimuove un oggetto ` input ` dall'asse.
Vedi anche Qt3DInput::QAbstractAxisInput.
© 2026 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.