Hello all,<br><br>Have been trying to find solution to one problem. <br><br>There&#39;s a main window. And there&#39;s a widget. Let&#39;s call this widget  --&gt;  widget_new. <br><br>I would like to replace centralwidget of the mainwindow with the widget_new. <br>
<br>setCentralwidget by passing widget_new ( generated by designer) doesn&#39;t help.<br><br>Someone must have come across such a problem. Any leads will be helpful.<br><br>Thanks,<br>Mru<br>