Hello,
I am developing a simple application in which My class S is inheriting from QMainWindow. This class adds all the GUI content & it is like a parent class of my application. It creates a window which is the only main window in my application.
I have provided an option so that the user can create multiple main windows by a push button so that he doesn’t have to launch the application from Windows Explorer every time he wants to work with more than 1 instances of my application. I am maintaining a QList which stores the pointers of all the objects of S. The problem that I am facing now is that when a user closes a window, the memory allocated by that instance is not cleared (maybe because that instance is not delete ed). I want to know which class in Qt emits the closed signal, so that I can delete that object by code in a slot.
Hope I made myself pretty clear. Please ask for details or queries if you could not get my question.
Thank You! :)
↧