Quote Originally Posted by marcel View Post
What do you mean when you say the code in main window continues? That is not possible...
Have you tested this in debug?
Do you have other threads running?
I know I thougt it sholdn't, I have no other threads.
But if do like this using the code above.
Qt Code:
  1. int r = esw->exec();
  2. qDebug() << r;
  3. qDebug() << esw->getSettings();
To copy to clipboard, switch view to plain text mode 
printout is:
1
()
Accept.

Quote Originally Posted by marcel View Post
Anyway, exec() returns a code that specifies if the user pressed OK or cancel. So you should test for that ( provided that you have OK and cancel buttons ).
I have only impelemented two buttons and connected them to accept and reject slots. Is that enough?

But....Ah...hmmm..."show() returns control to the caller immediately". Maybe I shouldn't use show() but how do I tell it to be visible?