Qt 4.8
|
The AnchorAnimation element animates changes in anchor values. More...
The AnchorAnimation element animates changes in anchor values.
AnchorAnimation is used to animate an anchor change.
In the following snippet we animate the addition of a right anchor to a Rectangle :
For convenience, when an AnchorAnimation is used in a Transition , it will animate any AnchorChanges that have occurred during the state change. This can be overridden by setting a specific target item using the target property.
Like any other animation element, an AnchorAnimation can be applied in a number of ways, including transitions, behaviors and property value sources. The QML Animation and Transitions documentation shows a variety of methods for creating animations.