[Qt-qml] QML JS Weirdness

Adriano Rezende adriano.rezende at openbossa.org
Fri Dec 3 16:00:14 CET 2010


On Thu, Dec 2, 2010 at 8:30 PM, Jason H <scorp1us at yahoo.com> wrote:
> Thank you all for the suggestions. They will be utilized...
>
> I still did want to iterate because I wanted to find the longest running
> animation and set that as the one to signal the completion. I created a property
> alias to be the longest running animation and in the script assigned the
> animation with the longest duration to the alias. But it didn't work (reference
> error IIRC). So I just made sure the longest-running animation is always used in
> the connection, and added the convention that its always a PauseAnimation of the
> same name at the top of the file.

You don't need to do that manually. You can use ParallelAnimation, if
the animation set is fixed. It will trigger complete signal only when
the last animation is finished.

Br,
Adriano



More information about the Qt-qml mailing list