Qt3DAnimation::QAnimationCallback Class
class Qt3DAnimation::QAnimationCallbackRappresenta un oggetto di callback per l'animazione. Maggiori informazioni...
| Intestazione: | #include <qanimationcallback.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3danimation) target_link_libraries(mytarget PRIVATE Qt6::3danimation) |
| qmake: | QT += 3danimation |
| Stato: | Anteprima tecnologica |
Questa classe è in anteprima tecnologica ed è soggetta a modifiche.
Tipi pubblici
Funzioni pubbliche
| virtual void | valueChanged(const QVariant &value) = 0 |
Documentazione sui tipi dei membri
enum QAnimationCallback::Flag
flags QAnimationCallback::Flags
Flag che indicano come viene chiamata la funzione valueChanged().
| Costante | Valore | Descrizione |
|---|---|---|
Qt3DAnimation::QAnimationCallback::OnOwningThread | 0x0 | La funzione di callback viene chiamata sul thread proprietario (GUI o principale). |
Qt3DAnimation::QAnimationCallback::OnThreadPool | 0x01 | La funzione di callback viene chiamata sul thread di lavoro del pool di thread. |
Il tipo Flags è un typedef per QFlags<Flag>. Memorizza una combinazione OR di valori Flag.
Documentazione delle funzioni membro
[pure virtual] void QAnimationCallback::valueChanged(const QVariant &value)
Funzione di callback che viene attivata in caso di modifiche all’animazione value.
Vedi anche 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.