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

danny shevitz at lanl.gov
Wed Aug 11 17:58:45 BST 2010


Nick Gaens <mail <at> 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 <shevitz <at> lanl.gov>
wrote:ilman/listinfo/pyqt
> 
> 
> -- Nick Gaens
> 
> 

Thanks for the quick reply.

I don't think this is the right thing to do.  When I change templates, 
the original should be gone forever, there should be no way to go back, 
and realistically, the original gui widget should be garbage collected.

Danny



More information about the PyQt mailing list