[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] newbie question re docks
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2007-09-28 7:41:02
Message-ID: 200709280841.02843.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

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@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

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

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic