QQmlPropertyValueSource Class
La clase QQmlPropertyValueSource es una interfaz para fuentes de valores de propiedades como animaciones y enlaces. Más...
| Cabecera: | #include <QQmlPropertyValueSource> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Qml)target_link_libraries(mytarget PRIVATE Qt6::Qml) |
| qmake: | QT += qml |
Funciones públicas
| QQmlPropertyValueSource() | |
| virtual | ~QQmlPropertyValueSource() |
| virtual void | setTarget(const QQmlProperty &property) = 0 |
Descripción Detallada
Consulte Fuentes de valores de propiedades para obtener información sobre cómo escribir fuentes de valores de propiedades personalizadas.
Documentación de Funciones Miembro
QQmlPropertyValueSource::QQmlPropertyValueSource()
Construye un QQmlPropertyValueSource.
[virtual noexcept] QQmlPropertyValueSource::~QQmlPropertyValueSource()
Destruye la fuente de valores.
[pure virtual] void QQmlPropertyValueSource::setTarget(const QQmlProperty &property)
Establece el destino property para la fuente de valor. Este método será llamado por el motor QML al asignar una fuente de valor.
© 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.