d class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p><dl class="return" compact><dt><b>Returns:</b></dt><dd> The current main widget. Will create a QWidget as the mainWidget
if none was set before. This way you can write
</dd></dl> <pre class="fragment">
   ui.setupUi(mainWidget());
</pre>
when using designer.
</p></div></div><a class="anchor" name="minimumSizeHint"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td