Hi Tabish, I would like to replace centralwidget of a mainwindow with another widget which is created separately.
For. ex. when I click on a button on mainwindow it should replace the current centralwidget by a new one. Please let me know if you need more info. Thanks, Mrugesh. 2010/1/19 tabish--> <tabish_shaikh...@yahoo.com> > > can you please describe ur problem in a better way? > > Mrugesh Chauhan wrote: > > > > Hello all, > > > > Have been trying to find solution to one problem. > > > > There's a main window. And there's a widget. Let's call this widget --> > > widget_new. > > > > I would like to replace centralwidget of the mainwindow with the > > widget_new. > > > > > > setCentralwidget by passing widget_new ( generated by designer) doesn't > > help. > > > > Someone must have come across such a problem. Any leads will be helpful. > > > > Thanks, > > Mru > > > > _______________________________________________ > > PyQt mailing list PyQt@riverbankcomputing.com > > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > > > > -- > View this message in context: > http://old.nabble.com/centrawidget-and-mainwindow-tp27212686p27221899.html > Sent from the PyQt mailing list archive at Nabble.com. > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt