[Qt-qml] Starting Sequential Animations

Jason H scorp1us at yahoo.com
Wed Jul 14 06:34:47 CEST 2010


Fantastic! Works like a charm and on that note, I'm off to bed!




----- Original Message ----
From: "michael.brasser at nokia.com" <michael.brasser at nokia.com>
To: scorp1us at yahoo.com
Cc: qt-qml at trolltech.com
Sent: Wed, July 14, 2010 12:32:15 AM
Subject: Re: [Qt-qml] Starting Sequential Animations

Hi,

You can continue to use the previous "on" syntax:

SequentialAnimation on x {
    PauseAnimation { duration: 300 }
    NumberAnimation {} //don't need to specify target/property
}

You can also manually trigger an animation by calling start(), or by using the 
running property (running: true).

Regards,
Michael

On 14/07/2010, at 2:17 PM, ext Jason H wrote:

> Previously, my items self-animated a single animation.
> 
> Text { ... NumberAnimation on x { } }
> 
> Now I wish to do:
> 
> Text { 
>    ... 
>    SequentialAnimation { 
>        PauseAnimation {duration: 300 }  
>        NumberAnimation  { target: ...; property: ..; ...}  
>    } 
> }
> 
> However I can't seem to "kick" the animation off. Before the NumberAnimation 
> started immediately. How can I get the sequential Animation to start?
> 
> Thanks!
> 
> 
> 
> 
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml


      




More information about the Qt-qml mailing list