I create a little app with 3 QMainWindow, each time I click the red cross to close a window, I call my destructor to delete each QPushButton, each QLabel and other.
D