Re: [PyQt] possible to change the central widget in a QMainWindow

2010-08-11 Thread danny
my bad. It turns out I had a bug in my code, where I wasn't changing the template details. Calling setCentralWidget more than once, works just fine... thanks, Danny ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.

Re: [PyQt] possible to change the central widget in a QMainWindow

2010-08-11 Thread danny
Nick Gaens nickgaens.com> writes: > > > You might want to set a QStackedWidget as your centralWidget and toggle the content of that first one? > > On Wed, Aug 11, 2010 at 6:51 PM, Danny Shevitz lanl.gov> wrote:ilman/listinfo/pyqt > > > -- Nick Gaens > > Thanks for the quick reply. I don

Re: [PyQt] possible to change the central widget in a QMainWindow

2010-08-11 Thread Nick Gaens
You might want to set a QStackedWidget as your centralWidget and toggle the content of that first one? On Wed, Aug 11, 2010 at 6:51 PM, Danny Shevitz wrote: > ilman/listinfo/pyqt -- Nick Gaens __

[PyQt] possible to change the central widget in a QMainWindow

2010-08-11 Thread Danny Shevitz
Howdy, My app is a QMainWindow subclass with a central widget that is a bunch of radio buttons. The radio button part is constructed on the fly from a template file. I would like the user to be able to change this central widget by reloading the template file used to construct it. I am f