Qt3DAnimation::QAnimationCallback Class
class Qt3DAnimation::QAnimationCallbackRepresenta um objeto de callback de animação. Mais...
| Cabeçalho: | #include <qanimationcallback.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3danimation) target_link_libraries(mytarget PRIVATE Qt6::3danimation) |
| qmake: | QT += 3danimation |
| Status: | Pré-visualização tecnológica |
Esta classe está em pré-visualização tecnológica e está sujeita a alterações.
Tipos públicos
Funções públicas
| virtual void | valueChanged(const QVariant &value) = 0 |
Documentação do tipo de membro
enum QAnimationCallback::Flag
flags QAnimationCallback::Flags
Sinalizadores que indicam como a função valueChanged() é chamada.
| Constante | Valor | Descrição |
|---|---|---|
Qt3DAnimation::QAnimationCallback::OnOwningThread | 0x0 | A função de retorno de chamada é chamada na thread proprietária (GUI ou principal). |
Qt3DAnimation::QAnimationCallback::OnThreadPool | 0x01 | A função de retorno de chamada é chamada na thread de trabalho do pool de threads. |
O tipo Flags é um typedef para QFlags<Flag>. Ele armazena uma combinação OR de valores de Flag.
Documentação da função membro
[pure virtual] void QAnimationCallback::valueChanged(const QVariant &value)
Função de retorno de chamada acionada quando ocorrem alterações no elemento animado value.
Veja também 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.