QQmlPropertyValueSource Class
La classe QQmlPropertyValueSource è un'interfaccia per le fonti dei valori delle proprietà, quali animazioni e associazioni. Per saperne di più...
| Intestazione: | #include <QQmlPropertyValueSource> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Qml) target_link_libraries(mytarget PRIVATE Qt6::Qml) |
| qmake: | QT += qml |
Funzioni pubbliche
| QQmlPropertyValueSource() | |
| virtual | ~QQmlPropertyValueSource() |
| virtual void | setTarget(const QQmlProperty &property) = 0 |
Descrizione dettagliata
Per informazioni sulla creazione di fonti di valori delle proprietà personalizzate, consultare la sezione Fonti di valori delle proprietà.
Documentazione sulle funzioni membro
QQmlPropertyValueSource::QQmlPropertyValueSource()
Crea un oggetto QQmlPropertyValueSource.
[virtual noexcept] QQmlPropertyValueSource::~QQmlPropertyValueSource()
Elimina la fonte di valore.
[pure virtual] void QQmlPropertyValueSource::setTarget(const QQmlProperty &property)
Imposta l'property e di destinazione per la fonte di valore. Questo metodo verrà chiamato dal motore QML al momento dell'assegnazione di una fonte di valore.
© 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.