IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QAnimationCallback Class

Represents an animation callback object.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QAnimationCallback Class▲

  • Header: QAnimationCallback

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3danimation)

    target_link_libraries(mytarget PRIVATE Qt6::3danimation)

  • qmake: QT += 3danimation

Detailed Description▲

 

Member Type Documentation▲

 

enum QAnimationCallback::Flag▲

flags QAnimationCallback::Flags

Flags to indicate how the valueChanged() function is called.

Constant

Value

Description

Qt3DAnimation::QAnimationCallback::OnOwningThread

0x0

Callback function is called on the owning (GUI or main) thread.

Qt3DAnimation::QAnimationCallback::OnThreadPool

0x01

Callback function is called on the thread pool's worker thread.

The Flags type is a typedef for QFlags<Flag>.It stores an OR combination of Flag values.

Member Function Documentation▲

 

[pure virtual] void QAnimationCallback::valueChanged(const QVariant &value)▲

Callback function that is triggered for changes in the animated value.

See Also▲

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+