[PyQt] newbie question re docks

Phil Thompson phil at riverbankcomputing.co.uk
Fri Sep 28 08:41:02 BST 2007


On Thursday 27 September 2007, Horst Herb wrote:
> Hi,
>
> I am new to PyQt4, trying to write my first app.
>
> I would like to write an application with multiple docking widgets. The
> application should remember the state (size, location) of the docked
> widgets (wherever the user has placed them).
>
> How can I achieve this? Could anybody please explain, perhaps using the
> dockwidgets example that comes with the PyQt4 package?
>
> Many thanks in advance,
> Horst
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

See the saveState() and restoreState() methods of QMainWindow.

Phil


More information about the PyQt mailing list