Home · All Classes · All Functions · Overviews

QML ParallelAnimation Element Reference

[Inherits Animation]

The ParallelAnimation element allows you to run animations in parallel. More...

Detailed Description

Animations contained in ParallelAnimation will be run at the same time.

The following animation demonstrates animating the MyItem item to (100,100) by animating the x and y properties in parallel.

 ParallelAnimation {
     NumberAnimation { target: MyItem; property: "x"; to: 100 }
     NumberAnimation { target: MyItem; property: "y"; to: 100 }
 }

See also SequentialAnimation.



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