<?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[how to serialize and save a qtabwidget object in qt]]></title><description><![CDATA[<p dir="auto">Hello,<br />
Im a beginner to qt and need to know if there is a way where i can store a complete qtabwidget object to a file and restore it. The qtabwidget contains multiple tab widgets with views with some user changes on it . Pls help if there is a way . Thanks</p>
]]></description><link>https://forum.qt.io/topic/126458/how-to-serialize-and-save-a-qtabwidget-object-in-qt</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 06:52:28 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/126458.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 May 2021 07:13:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how to serialize and save a qtabwidget object in qt on Sun, 09 May 2021 05:10:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonb">@<bdi>JonB</bdi></a> got it . Thanks you so much.</p>
]]></description><link>https://forum.qt.io/post/658733</link><guid isPermaLink="true">https://forum.qt.io/post/658733</guid><dc:creator><![CDATA[sachinrd]]></dc:creator><pubDate>Sun, 09 May 2021 05:10:07 GMT</pubDate></item><item><title><![CDATA[Reply to how to serialize and save a qtabwidget object in qt on Sat, 08 May 2021 07:30:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sachinrd">@<bdi>sachinrd</bdi></a><br />
You cannot, and should not, serialize <code>QWidget</code>s.  You should serialize those properties you have changed/need to restore, and recreate widgets from that information.</p>
<p dir="auto">If, say, you have some <em>model(s)</em> representing the data/changes, you can serialize that.</p>
]]></description><link>https://forum.qt.io/post/658614</link><guid isPermaLink="true">https://forum.qt.io/post/658614</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Sat, 08 May 2021 07:30:22 GMT</pubDate></item></channel></rss>