CptanPanic
CptanPanic

Reputation: 629

How to restart a QWizard?

I have a QWizard that I have subsclassed, that don't want to finish. When the user clicks the finish button I want to just go back to the beginning. I first tried just overriding the nextId() method, but that will not allow me to go backwards. Any other ideas? This is with Qt 4.6

Upvotes: 0

Views: 831

Answers (1)

jnsg
jnsg

Reputation: 88

There's restart() for example, which could be called from done(). Note that this resets your fields, though.

Upvotes: 3

Related Questions