PDA

View Full Version : Closing the Wizard Automatically



divya balachandran
17th October 2008, 12:22
Iam working in Qt4..using the QWizard and QWizardPage classes

In my assignment , i have a progressbar in one of the pages..

When the progress reaches 100% the Wizard should close/ terminate automatically..

What i have to do for terminating the wizard..?

spirit
17th October 2008, 12:28
try


qApp->quit();

janus
17th October 2008, 12:43
Hi,

maybe call the accept() slot.