Hi all, one would assume that closeEvent is called whenever the window/dialog is closed. I experimented around with a Dialog whose geometry I wanted to save. I had previously thought that the QDialog::accept() and QDialog::reject() slots indirectly invoke the closeEvent() since the dialog is closed after calling them per default. But closeEvent is only invoked when I hit the title bar close button. But shouldn't closeEvent be called no matter what leads to the closing of the dialog? After all it is _closed_ and one would expect closeEvent to be called!
example: main.cpp
Thanx in advance
Bookmarks