Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
how can I make my Q dialog box size fixed
call "setFixedSize() ":/doc/qt-4.8/qwidget.html#setFixedSize
you can write
@yourDialog->setFixedSize(300, 300);@
Edit: Sorry for double reply. I got late to click on post reply.
hi, I used it like
TnFSimulatorAssetCategoryEditorDlg->setFixedSize(int w. int h);
but It gives the following error.. 1.expec ted primary expression before 'int'
Post Updated Check Again.
@yourDialog->setFixedSize(int w, int h);@
where w means width of type integer and h means height of type integer.
so as per your requirement you can set the values.
Sorry for bothering I've fixed the problem
Thanks to both of u.