QDialog exec() and getting result value

Some points : Rather than using setResult() yourself, use QDialog::accept() and QDialog::reject(). It seems you are not taking full advantage of the signals and slots. You need the object which create the dialog (or another one) to listen to the signals of the dialog. In your code you are not connecting signals to slots either. … Read more