[Qt-qml] "RotationAnimation: setRunning() cannot be used on non-root animation nodes"
Eduardo Fleury
eduardo.fleury at openbossa.org
Mon Jul 19 21:06:39 CEST 2010
On Mon, Jul 19, 2010 at 3:45 PM, Stephen Collyer
<scollyer at netspinner.co.uk>wrote:
>
> 1. Is this documented anywhere ? I can't see anything in Assistant that
> mentions
> a restriction like this.
>
The concept here is that once an animation is part of a larger group, it is
the group that decides when it's the right moment for each of its children
to start or stop. That restriction is tied to the concept of AnimationGroup.
I was aware of that because I'm used to the similar C++ API, but I don't
know whether that's documented in QML. Maybe it deserves some more detail on
that.
> 2. It's not clear to me what in my code is trying to start or stop the
> animations. Is it
> the presence of the loops property ?
>
I couldn't find where you are starting the animation but since the
ParallelAnimation does not have an id, and the Rotation animation has, I'm
assuming you might be calling "rot.start()" somewhere... or "rot.enabled =
true".
BTW, I'm online at #qt-labs @ Freenode if you wanna talk with less overhead
(nick is fleury)
--
Eduardo M. Fleury
OpenBossa - INdT
http://eduardofleury.com/
http://www.openbossa.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100719/cabad594/attachment.html
More information about the Qt-qml
mailing list