Re: [PyQt] saving/restoring geometry

2008-03-11 Thread Giovanni Bajo
On Mon, 2008-03-10 at 16:03 -0500, Darren Dale wrote: Could anyone suggest how to save and restore the size and position of a dock widget and an mdi subwindow? There's QMainWindow.saveState() / restoreState(), if it's not too much. -- Giovanni Bajo

Re: [PyQt] saving/restoring geometry

2008-03-11 Thread Darren Dale
On Monday 10 March 2008 05:03:59 pm Darren Dale wrote: Could anyone suggest how to save and restore the size and position of a dock widget and an mdi subwindow? I found the answer to my dock question by looking through the eric4 source code: use QSettings and QMainWindow.saveState().

[PyQt] saving/restoring geometry

2008-03-10 Thread Darren Dale
Could anyone suggest how to save and restore the size and position of a dock widget and an mdi subwindow? Thanks, Darren ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt