[Interest] Animation Framework
Graham Labdon
Graham.Labdon at avalonsciences.com
Mon Dec 2 16:40:02 CET 2013
Hi
If I have a group of animations and have added them to a group -
QPropertyAnimation *Animation1 = new QPropertyAnimation(widget1, "pos");
QPropertyAnimation *Animation2 = new QPropertyAnimation(widget2, "pos");
QParallelAnimationGroup *animationGroup = new QParallelAnimationGroup;
animationGroup ->addAnimation(Animation1);
animationGroup ->addAnimation(Animation2);
animgroup->start(QAbstractAnimation::DeleteWhenStopped);
Does this result in a memory leak or will the individual animations be deleted when the animation group completes ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131202/db4f3b6f/attachment.html>
More information about the Interest
mailing list