Controlling the progress of a transition



  • How can I set the progress of a transition between two states? I tried coupling an AnimationController to the animation inside a Transition but then I got the error

    QML AnimationController: QQuickAnimationController::setAnimation: the animation is controlled by others, can't be used in AnimationController.



  • Ok, I managed to solve this myself. Not a great solution since I now have to control the transition manually but it turns out that states have a property called changes that can be used to find out what has been changed in the state compared to the default state.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.