Hi,

how can make the wizard show up alone, and then when it finishes, the main window comes up?

My main.cpp code is this:
Qt Code:
  1. int main(int argc, char ** argv)
  2. {
  3. QApplication app(argc, argv);
  4.  
  5. MainWindowImpl win;
  6. win.show(); //shows the main window
  7. win.data = new dataBase;
  8. startWizard wizard(&win, &(win.data));
  9. wizard.show(); //shows the wizard
  10.  
  11. app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
  12. return app.exec();
  13. }
To copy to clipboard, switch view to plain text mode 


thanks a bunch for the help,
david