In questa pagina

Qt3DAnimation::QAnimationCallback Class

class Qt3DAnimation::QAnimationCallback

Rappresenta 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

enum Flag { OnOwningThread, OnThreadPool }
flags Flags

Funzioni pubbliche

virtual void valueChanged(const QVariant &value) = 0

Descrizione dettagliata

Documentazione sui tipi dei membri

enum QAnimationCallback::Flag
flags QAnimationCallback::Flags

Flag che indicano come viene chiamata la funzione valueChanged().

CostanteValoreDescrizione
Qt3DAnimation::QAnimationCallback::OnOwningThread0x0La funzione di callback viene chiamata sul thread proprietario (GUI o principale).
Qt3DAnimation::QAnimationCallback::OnThreadPool0x01La 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.