Home · All Classes · All Functions · Overviews

QML SequentialAnimation Element Reference

[Inherits Animation]

The SequentialAnimation element allows you to run animations sequentially. More...

Detailed Description

Animations controlled in SequentialAnimation will be run one after the other.

The following example chains two numeric animations together. The MyItem object will animate from its current x position to 100, and then back to 0.

 SequentialAnimation {
     NumberAnimation { target: MyItem; property: "x"; to: 100 }
     NumberAnimation { target: MyItem; property: "x"; to: 0 }
 }

See also ParallelAnimation.



Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.7.0