QQmlPropertyValueSource Class
La clase `QQmlPropertyValueSource` es una interfaz para fuentes de valores de propiedades, como animaciones y enlaces. Más información...
| Encabezado: | #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 propiedad » para obtener información sobre cómo escribir fuentes de valores de propiedad personalizadas.
Documentación de las funciones de miembro
QQmlPropertyValueSource::QQmlPropertyValueSource()
Crea un objeto QQmlPropertyValueSource.
[virtual noexcept] QQmlPropertyValueSource::~QQmlPropertyValueSource()
Destruye la fuente de valor.
[pure virtual] void QQmlPropertyValueSource::setTarget(const QQmlProperty &property)
Establece el property de destino para la fuente de valor. El motor QML llamará a este método 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.