Qt doc says:
void QDialog::done ( int r ) [virtual slot]
Closes the dialog and sets its result code to r. If this dialog is shown with exec(), done() causes the local event loop to finish, and exec() to return r.
If The main event loop is alive and dialog is still in main thread. What does it meant by local event loop?
↧