Does anybody know what signal QMainWindow sends out when you close it by the following methods:
1. double click the upper-left corner of a QMainWindow, or
2. left click the upper-left corner of a QMainWindow, then select Close()
I was unable to catch destroyed() signal, I didn't get any closeEvent as well.
The reason for my question is when my main window (QMainWindow) is closed though above method, other windows( generated from main window, but not necessarily child of QMainWindow) are still running. What I want is every window closed when QMainWindow is closed.
Thanks in advance!
Bookmarks