ich
24th April 2015, 12:54
Hi, I want to rearrange the subwindows(QMainWindows) in the QMdiArea, after closing one of them. When I push the "closebutton" the subwindows sent an event to the MainWindow that includes the mdiArea and the Slot to this event rearrange the subwindow, the problem now is, that I get a gab between the rearranged subwindows because the program first rearrange the subwindows and secondly close the subwindow that is to close.
Is there any way I can implement that the subwindow sents the closing event to the main window, than close itself and after closing the other subwindow become rearranged ?
Thanks for any help !
Additionally: I use Qt 4.8.5 with still(caused by the historical growing of the program) some Qt3 elements. I work with Visual Studio´.
Is there any way I can implement that the subwindow sents the closing event to the main window, than close itself and after closing the other subwindow become rearranged ?
Thanks for any help !
Additionally: I use Qt 4.8.5 with still(caused by the historical growing of the program) some Qt3 elements. I work with Visual Studio´.