I solved a similar requirement once by programmatically calling back until 
reaching the start again. Downside is that the real back doesn't work anymore 
either then. Alternatively, you could make your wizard more dynamic: simply 
insert new instances of pages 1 to 3 as needed, and give them new id's. Then 
you can navigate there. 

André

> Op 29 jan. 2016 om 19:47 heeft Joey Kleingers <joey.kleing...@bluequartz.net> 
> het volgende geschreven:
> 
> Hello,
> 
> I have a QWizard subclass and four QWizardPage subclasses.  I created an 
> instance of each QWizardPage subclass and added it to the QWizard.
> 
> Instead of using this page flow:
> 
> Page 1 ----> Page 2 ----> Page 3 ----> Page 4
> 
> I would like to instead use this page flow:
> 
> Page 1 ----> Page 2 ----> Page 3 ----> Page 1 ----> Page 2 ----> Page 3 ----> 
> Page 4
> 
> where Page 1, Page 2, and Page 3 make a circular flow until some condition is 
> met to go to Page 4.
> 
> I have tried reimplementing the QWizardPage::nextId() function on Page 
> 3...but when I return Page 1's id from that function, it simply repeats Page 
> 3.  It won't let me go back to Page 1.
> 
> Is there a solution to this problem???  I am using Qt 5.5.1.
> 
> Many thanks,
> Joey
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to