<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Doing Qt Animination Sequential with QGraphicsScene]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I've been experimenting with QGraphicsScene. I'm familiar with animation using QTimeLine, QParallelAniminationGroup, QSequentialAniminationGroup, and etc. The problem is that it can be a little bit hard integrating those classes for my graphics that I create in QGraphicsScene.</p>
<p dir="auto">For instance, this would not work:</p>
<p dir="auto">QParallelAnimationGroup *group = new QParallelAnimationGroup;<br />
group-&gt;addAnimation(anim1);<br />
group-&gt;addAnimation(anim2);</p>
<p dir="auto">group-&gt;start();</p>
<p dir="auto">if anim1 and anim2 are not QGraphicsItemAnimation. Okay, so you might say to use QPropertyAnimation. Well.... these are more so for widgets, not QGraphicsItemAnimation and will not work in this case.</p>
<p dir="auto">So as you can see, it isn't that easy for integration with the exception of QTimeLine (code not shown) and maybe a few others. Anyhow, using strictly the auxillary classes for QGraphicsScene, how do I go about doing sequential animation since I cannot use QSequentialAnimationGroup class? I figured out parallel animation, but I don't see any functions or any clean way of doing sequential.</p>
<p dir="auto">Thanks so much and happy holidays!</p>
]]></description><link>https://forum.qt.io/topic/85284/doing-qt-animination-sequential-with-qgraphicsscene</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 19:22:25 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/85284.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Nov 2017 21:58:14 GMT</pubDate><ttl>60</ttl></channel></rss>