Important: Please read the Qt Code of Conduct -

QWizard: How to create a loop (call one page several times) or set page unvisited

  • Hi,
    I'm new to qt and I'm trying to create a wizard which will go back into a loop if the user would like to make corrections (else proceed straight forward). I created a non-linear wizard which shows the next page by calling nextId(). But it seems like I'm only able to call each page ID once. Calling it a second time will stop my wizard at the last page (basically does nothing).

    Is it possible to set a page unvisited? Or any other ideas for a work around?
    Just going back is not what I want.

    Thanks in advance

  • Well, I never tried to display a QWizardPage twive, so I don't know if it is a bug . Why do you want to display another time for the user to correct things? If he wants to correct things, he can click en the Previous button (that's the purpose of a QWIzard...)

  • I would like to use the wizard in an iterative process. It's supposed to perform a segmentation. If the user is satisfied with the result he may finish. Else, do it again with different parameters. It uses more than one page, so I would prefere not to go back.

Log in to reply