<?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[QWizard loses all fields]]></title><description><![CDATA[<p dir="auto">... on cancel. Why is that? I would like to access the fields, that were already filled in - but everything is gone after the user clicks cancel ...</p>
<p dir="auto">regards<br />
HoM</p>
]]></description><link>https://forum.qt.io/topic/131552/qwizard-loses-all-fields</link><generator>RSS for Node</generator><lastBuildDate>Sat, 31 Oct 2026 21:06:01 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/131552.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 Oct 2021 21:04:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QWizard loses all fields on Sat, 30 Oct 2021 18:04:45 GMT]]></title><description><![CDATA[<p dir="auto">Well, technically speaking you have two different wizard one after the other. Hence the use of one single wizard for both is maybe not the right thing to do. You should have them in sequence so that it is clear that you are handling two different things and especially that cancelling the order is unrelated to cancelling the whole process.</p>
]]></description><link>https://forum.qt.io/post/687586</link><guid isPermaLink="true">https://forum.qt.io/post/687586</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 30 Oct 2021 18:04:45 GMT</pubDate></item><item><title><![CDATA[Reply to QWizard loses all fields on Sat, 30 Oct 2021 19:04:17 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Well, technically speaking you have two different wizard one after the other.</p>
</blockquote>
<p dir="auto">Yes, well - so...? Do you argue, that my expectation is a misuse of the class? Why would there be the feature of the "commit page", if not for this case? So I would not agree on that.</p>
<p dir="auto">Anyways: What is so strange to me: someone took the time to program the deletions of the fields - and that is really strange to me. Why on earth would you do that? Just close the thing and be done ...</p>
<p dir="auto">Bit thx for your ideas.</p>
]]></description><link>https://forum.qt.io/post/687597</link><guid isPermaLink="true">https://forum.qt.io/post/687597</guid><dc:creator><![CDATA[HoMa]]></dc:creator><pubDate>Sat, 30 Oct 2021 19:04:17 GMT</pubDate></item><item><title><![CDATA[Reply to QWizard loses all fields on Sat, 30 Oct 2021 18:04:45 GMT]]></title><description><![CDATA[<p dir="auto">Well, technically speaking you have two different wizard one after the other. Hence the use of one single wizard for both is maybe not the right thing to do. You should have them in sequence so that it is clear that you are handling two different things and especially that cancelling the order is unrelated to cancelling the whole process.</p>
]]></description><link>https://forum.qt.io/post/687586</link><guid isPermaLink="true">https://forum.qt.io/post/687586</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 30 Oct 2021 18:04:45 GMT</pubDate></item><item><title><![CDATA[Reply to QWizard loses all fields on Sat, 30 Oct 2021 07:50:24 GMT]]></title><description><![CDATA[<p dir="auto">Yes, sure:<br />
I stumbled over this when implementing a Wizard to create a customer and an order in one go.<br />
The first page gives the option to create a customer or select from a drop-down. If a customer is created, some pages collect the data of the customer. Then there is  a confirmation page on the customer data (this page is setCommitPage  (true)).<br />
Now the data for the order is selected.<br />
If the users cancels in this second part I would like to access the data of the first part of the wizard. This - to my surprise - was not possible.</p>
<p dir="auto">This is not a big issue: I just save the data in the validation function of the confirmation page - but anyhow: this contradicts the field concept of the wizard, in  my eyes.</p>
<p dir="auto">Thx and best regards<br />
HoM</p>
]]></description><link>https://forum.qt.io/post/687559</link><guid isPermaLink="true">https://forum.qt.io/post/687559</guid><dc:creator><![CDATA[HoMa]]></dc:creator><pubDate>Sat, 30 Oct 2021 07:50:24 GMT</pubDate></item><item><title><![CDATA[Reply to QWizard loses all fields on Fri, 29 Oct 2021 21:09:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Technically speaking if you click cancel on a wizard I would not expect it to return any valid value. Like when you click on the back button the wizard page will be reset to the default values it contained.</p>
<p dir="auto">Can you explain your use case ?</p>
]]></description><link>https://forum.qt.io/post/687503</link><guid isPermaLink="true">https://forum.qt.io/post/687503</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 29 Oct 2021 21:09:47 GMT</pubDate></item></channel></rss>