qt disable resizing window code example
Example 1: qt disable resizing window
void MyDialog::MyDialog()
{
// Qt::Widget, Qt::Window or Qt::Dialog.
setWindowFlags(Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
}
Example 2: qt remove resize handle
// in QMainWindow
this->statusBar()->setSizeGripEnabled(false);