How can I avoid a QDialog close?

Printable View