Qt3DAnimation::QAnimationCallback Class
class Qt3DAnimation::QAnimationCallbackRepresenta un objeto de devolución de llamada de animación. Más información...
| Encabezado: | #include <qanimationcallback.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3danimation) target_link_libraries(mytarget PRIVATE Qt6::3danimation) |
| qmake: | QT += 3danimation |
| Estado: | Versión preliminar |
Esta clase se encuentra en fase de vista previa tecnológica y está sujeta a cambios.
Tipos públicos
Funciones públicas
| virtual void | valueChanged(const QVariant &value) = 0 |
Documentación sobre los tipos de miembro
enum QAnimationCallback::Flag
flags QAnimationCallback::Flags
Parámetros que indican cómo se invoca la función ` valueChanged()`.
| Constante | Valor | Descripción |
|---|---|---|
Qt3DAnimation::QAnimationCallback::OnOwningThread | 0x0 | La función de llamada de retorno se invoca en el hilo propietario (GUI o principal). |
Qt3DAnimation::QAnimationCallback::OnThreadPool | 0x01 | La función de devolución de llamada se invoca en el hilo de trabajo del grupo de hilos. |
El tipo Flags es un typedef para QFlags<Flag>. Almacena una combinación OR de valores de Flag.
Documentación de las funciones miembro
[pure virtual] void QAnimationCallback::valueChanged(const QVariant &value)
Función de llamada de retorno que se activa cuando se producen cambios en la animación value.
Véase también ` QCallbackMapping::setCallback()`.
© 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.