C403
22nd June 2013, 09:11
Hey,
Scratch the original post, my bad. Case in point, I have an MDI area with several sub windows I subclass directly from QMdiSubWindow. I need to save their z order when I close the session so I can restore it. I can already restore their geometry with save/restoreGeometry, thats not an issue. Children are given focus as they are activated, so I would have to dynamically activate them (as I did in MFC and it was a complete mess, but it worked).
Is there a better/cleaner way of doing it?
Scratch the original post, my bad. Case in point, I have an MDI area with several sub windows I subclass directly from QMdiSubWindow. I need to save their z order when I close the session so I can restore it. I can already restore their geometry with save/restoreGeometry, thats not an issue. Children are given focus as they are activated, so I would have to dynamically activate them (as I did in MFC and it was a complete mess, but it worked).
Is there a better/cleaner way of doing it?