Our webinar series on QML and QtQuick continues, and today we’ll tell you about animation. Without animation, that is, smooth transitions and turns, now no high-quality interface is unthinkable, which means you cannot lose these QML features.
Animations are used to create visual effects and are applicable to any visual element. Animations can be used for numbers and properties, and can be used to create pauses and delays. There are many types of animations (NumberAnimation for numerical animation, ColorAnimation for transitions between colors, RotationAnimation for turns, SpringAnimation, etc.)
To be able to specify how the transition from the initial value to the final value will be interpolated during the animation, you can use Easing curves. They can be used to animate elements, for example, according to the exponential law ( easing.type: "OutExpo" ).
')
In addition, animations can be grouped into parallel (SequentialAnimation) and sequential (ParallelAnimation) animation groups; as is clear from the names, parallel animation groups allow you to animate all elements of a group at the same time, and consecutive ones in a certain order.
Watching this webinar, combining theory and practice, you will learn how to work with all these animations.
The previous parts of the webinar series are available at the links below: