[PyQt] centrawidget and mainwindow

M Chauhan mrch81 at gmail.com
Mon Jan 18 16:07:15 GMT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100118/f29cb5cb/attachment.html>


More information about the PyQt mailing list