Chapter 2. States and Animations

In this chapter, we will cover the following recipes:

  • Property animation in Qt
  • Using easing curves to control property animation
  • Creating the animation group
  • Creating the nested animation group
  • State machine in Qt
  • States, transitions, and animations in QML
  • Animation widget properties using animators
  • Spri te animation

Introduction

Qt provides an easy way to animate widgets or any other objects that inherit the QObject class, through its powerful animation framework. The animation can be used either on its own or used together with the state machine framework, which allows different animations to be played based on the current active state of the widget. Qt's animation framework also supports grouped animation, which allows you to move more than one graphics item simultaneously, or move them in sequence one after the other.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.98.250