Dauntless
22nd February 2007, 04:32
I would like to know what's the best way to popup a dialog, from which the user could select an option before the main window of the program starts.
I can’t just show both, because the MainWindow needs to know the option selected in the first dialog to work properly, so I need to freeze somehow the process until the user selected the option in the first dialog.
I was wondering what's the best approach to make this work? Use qthreads, qtimer, use some QCoreApplication commands or maybe there is an ever better way.
I’m a novice and I don’t know yet the proper way to do it, thank you if you can help me.
I can’t just show both, because the MainWindow needs to know the option selected in the first dialog to work properly, so I need to freeze somehow the process until the user selected the option in the first dialog.
I was wondering what's the best approach to make this work? Use qthreads, qtimer, use some QCoreApplication commands or maybe there is an ever better way.
I’m a novice and I don’t know yet the proper way to do it, thank you if you can help me.