[Qt-interest] Restarting a QWizard

wim.delvaux at adaptiveplanet.com wim.delvaux at adaptiveplanet.com
Wed Sep 2 02:25:23 CEST 2009


Hi all,

I have this Wizard (non linear) and I want to allow the user to 
restart the wizard (i.e. start the wizard after committing currently entered 
data anew to enter a new set of data).

I call the restart in the validatePage() and return the ID of the start page 
if the user wishes to restart. 

The restart does happen however the first page (the start page) is not shown 
and the wizard immediately skips to the second page.

It does do all the necessairy initializePage calls on the start page but after 
all Initialization and a view isComplete calls, it moves directly (signalling 
the currentIdChanged() signal) to the next page (the one returned by the 
nextid).

How can I restart a dialog or what am I doing wrong ?

Thx
W



More information about the Qt-interest-old mailing list