QMdiSubWindow not showing content when closed and opened again
Hi there
I'm new here in the forum and also quite new to Qt... so please be patient ;-)
I've a QMdiAre with different sub windows. The subwindows have the attribute WA_DeleteOnClose set to false. So I can close the window and get it back again with calling the slot showNormal() of the QMdiSubWindow.
The problem is that the window is empty, when it's closed and opened again.
I still can get the containing widget (a QGraphicsView) with the QMdiSubWindow::widget() function. But it is not shown in the sub window.
What do I need to do, to show the content of the window?
Thx
woodtluk
Re: QMdiSubWindow not showing content when closed and opened again
try calling the show() of the contained widget before showNormal().
Re: QMdiSubWindow not showing content when closed and opened again
Cool it's working...
Thaks a lot!