In case of a modal dialog you use exec() to show the dialog. When it returns, you know it closed.
This is in most cases what you want.
In case of a modeless dialog, emit a signal to the parent, notfiying it is about to close.
And of course, you read this:
http://doc.qt.nokia.com/4.6/qdialog.html#details




Reply With Quote
Bookmarks