<?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[Saving the current state of a QGraphicsScene.]]></title><description><![CDATA[<p dir="auto">Hi ,<br />
I need to implement a saving feature in my application .Let say that a user opens the application,draws to rectangles on the scene and quits.The new feature would allow him to save the current state of the scene so that it can loaded when the application is run again.</p>
<p dir="auto">Is there a way this can be easily achieved in Qt?<br />
Thanks.</p>
]]></description><link>https://forum.qt.io/topic/31221/saving-the-current-state-of-a-qgraphicsscene</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 04:12:51 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/31221.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Aug 2013 07:57:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Saving the current state of a QGraphicsScene. on Tue, 27 Aug 2013 19:25:34 GMT]]></title><description><![CDATA[<p dir="auto">You're welcome.<br />
I am glad to be helpful :) .</p>
]]></description><link>https://forum.qt.io/post/192859</link><guid isPermaLink="true">https://forum.qt.io/post/192859</guid><dc:creator><![CDATA[qxoz]]></dc:creator><pubDate>Tue, 27 Aug 2013 19:25:34 GMT</pubDate></item><item><title><![CDATA[Reply to Saving the current state of a QGraphicsScene. on Tue, 27 Aug 2013 15:12:27 GMT]]></title><description><![CDATA[<p dir="auto">Thanks qxoz,you really saved me some time!<br />
QDomDocument ,here I come!</p>
]]></description><link>https://forum.qt.io/post/192819</link><guid isPermaLink="true">https://forum.qt.io/post/192819</guid><dc:creator><![CDATA[musimbate]]></dc:creator><pubDate>Tue, 27 Aug 2013 15:12:27 GMT</pubDate></item><item><title><![CDATA[Reply to Saving the current state of a QGraphicsScene. on Tue, 27 Aug 2013 11:25:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi!<br />
At first, get all items:<br />
@QList&lt;QGraphicsItem *&gt; QGraphicsScene::items ()@<br />
then, you can save parameters of items as you wish.<br />
Usually i use QDomDocument.</p>
]]></description><link>https://forum.qt.io/post/192779</link><guid isPermaLink="true">https://forum.qt.io/post/192779</guid><dc:creator><![CDATA[qxoz]]></dc:creator><pubDate>Tue, 27 Aug 2013 11:25:41 GMT</pubDate></item></channel></rss>