In Chapter 11, Introduction to Qt Quick, we implemented a simple animation using Qt Quick states and transitions. We will now deepen our knowledge on this topic and learn how to add some dynamics into the user interfaces we create. Thus far, books cannot contain moving pictures, so you will have to test most things we describe here yourself by running the provided Qt Quick code.
Qt Quick provides a very extensive framework for creating animations. By that, we don't mean only moving items around. We define an animation as changing an arbitrary value over time. So, what can we animate? Of course, we can animate item geometry. However, we can also animate rotation, scale, other numeric values, and even colors, but let's not stop here. Qt Quick also lets you animate the parent-child hierarchy of items or anchor assignments. Almost anything...