QMDI - custom layout of QMdiSubWindows
Hello all,
I am using Qt 4 for X11 and I have an application that has a QMdiArea widget that maintains a list of QMdiSubWindows widgets. It can tile those, cascade those. BUT I want a custom layout of them like setting geometry, putting the windows where I want , saving/restoring positions etc.
I do not want to use QWorksSpace because it says it is an OBSOLETE class in the documentation.
Is any way to extend this functionality for QMdiArea class?
Any help/suggestions will be appreciated
Sincerely,
Adonis Nechita
Re: QMDI - custom layout of QMdiSubWindows
Quote:
BUT I want a custom layout of them like setting geometry, putting the windows where I want , saving/restoring positions etc.
Same like other windows.
subwindow->setFixedSize(SWID,SHGT); //size
subwindow->move(QPoint(x,y)); //geometry
hope it helps
Bala