i am unable to set height and width for main form ..
my code::
QWidget wid(this); // here this reflects to main ui i.e main form
wid.setMinimumHeight(250);
wid.setMinimumWidth(250);

the above code is not working ...
what i hav to use