<?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[Maintaining Dynamic QML]]></title><description><![CDATA[<p dir="auto">Hello, I'm using dynamic object creation with qt.createqmlobject to enable some kind of configurable UI. Basically the user of the UI can create objects to make their own custom "GUI" from my GUI which is basically their interface. I am able to create a custom GUI using the interface I have created, but when my interface shuts down, the custom "GUI" that was created by the user does not persist. I would like to be able to save the objects they have configured so that they can open their own custom created GUI (which was created using my interface) when my interface is not running. Is there a way of saving the objects they have created in some sort of file (maybe XML) so that their "GUI" can be dynamically created without the use of my interface?</p>
]]></description><link>https://forum.qt.io/topic/85266/maintaining-dynamic-qml</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 15:08:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/85266.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Nov 2017 10:45:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Maintaining Dynamic QML on Fri, 24 Nov 2017 10:01:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amr_mkamal">@<bdi>Amr_MKamal</bdi></a> Ok, so the user will select pre-coded configurable objects and construct his GUI.<br />
To be able to reload that config, you can use : Local Storage QML Type  or also Settings QML Type, you can also save your config in .txt file and load it with XMLHttpRequest</p>
<p dir="auto">Settings           : <a href="http://doc.qt.io/qt-5/qml-qt-labs-settings-settings.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qml-qt-labs-settings-settings.html</a><br />
Local Storage : <a href="http://doc.qt.io/qt-5/qtquick-localstorage-qmlmodule.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qtquick-localstorage-qmlmodule.html</a></p>
<p dir="auto">LA</p>
]]></description><link>https://forum.qt.io/post/427917</link><guid isPermaLink="true">https://forum.qt.io/post/427917</guid><dc:creator><![CDATA[ODБOï]]></dc:creator><pubDate>Fri, 24 Nov 2017 10:01:12 GMT</pubDate></item><item><title><![CDATA[Reply to Maintaining Dynamic QML on Thu, 23 Nov 2017 09:34:41 GMT]]></title><description><![CDATA[<p dir="auto">@LeLev I mean using pre-coded objects and placing / customizing adding or deleting them and be able to load them after restarting , I don't want to start another interface but for the sake of the argument what if I do , how will that be possible , the main idea is transforming the dynamically created objects to a separate static page for say and be able to redo the process</p>
]]></description><link>https://forum.qt.io/post/427874</link><guid isPermaLink="true">https://forum.qt.io/post/427874</guid><dc:creator><![CDATA[Amr_MKamal]]></dc:creator><pubDate>Thu, 23 Nov 2017 09:34:41 GMT</pubDate></item><item><title><![CDATA[Reply to Maintaining Dynamic QML on Thu, 23 Nov 2017 09:07:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pablo-j.-rogina">@<bdi>Pablo-J.-Rogina</bdi></a> Thanks , but long or short string , my question is how to maintain these objects</p>
]]></description><link>https://forum.qt.io/post/427868</link><guid isPermaLink="true">https://forum.qt.io/post/427868</guid><dc:creator><![CDATA[Amr_MKamal]]></dc:creator><pubDate>Thu, 23 Nov 2017 09:07:07 GMT</pubDate></item><item><title><![CDATA[Reply to Maintaining Dynamic QML on Wed, 22 Nov 2017 18:25:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amr_mkamal">@<bdi>Amr_MKamal</bdi></a> Hello,</p>
<p dir="auto">You mean <strong>create custom GUI :</strong>  writing qml code ? or  selecting objects in a list and just placing / customizing and saving to be able to load it after restarting your program ?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amr_mkamal">@<bdi>Amr_MKamal</bdi></a> said in <a href="/post/427675">Maintaining Dynamic QML</a>:</p>
<blockquote>
<p dir="auto">I would like to be able to save the<br />
objects they have configured so that they can open their own custom created<br />
GUI (which was created using my interface) <em><strong>when my interface is not<br />
running</strong></em></p>
</blockquote>
<p dir="auto">How will the user start his GUI  without  starting your interface ?  Do you want to generate another "userGUI.exe"  ?</p>
<p dir="auto">LA</p>
]]></description><link>https://forum.qt.io/post/427751</link><guid isPermaLink="true">https://forum.qt.io/post/427751</guid><dc:creator><![CDATA[ODБOï]]></dc:creator><pubDate>Wed, 22 Nov 2017 18:25:54 GMT</pubDate></item><item><title><![CDATA[Reply to Maintaining Dynamic QML on Wed, 22 Nov 2017 18:00:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amr_mkamal">@<bdi>Amr_MKamal</bdi></a> not having used Qt createqmlobject feature so far, I'd say save your custom GUI components as QML files (.qml and QML syntax) given the example found in the <a href="http://doc.qt.io/qt-5/qtqml-javascript-dynamicobjectcreation.html" target="_blank" rel="noopener noreferrer nofollow ugc">feature documentation</a>. As suggested in this <a href="http://wiki.qt.io/QML_Dynamic_Objects#Creation_of_Dynamic_QML_Objects" target="_blank" rel="noopener noreferrer nofollow ugc">wiki page</a> "...Practically it is inconvenient to supply a long QML string in createQmlObject() call", you may want to keep several small files (i.e. per component) instead of a big one (per whole custom GUI).</p>
]]></description><link>https://forum.qt.io/post/427744</link><guid isPermaLink="true">https://forum.qt.io/post/427744</guid><dc:creator><![CDATA[Pablo J. Rogina]]></dc:creator><pubDate>Wed, 22 Nov 2017 18:00:44 GMT</pubDate></item></channel></rss>