[SOLVED] How to hide border of dialog that in QMdiArea
-
Hey! I want to open any dialog at QMdiArea, and I want to hide it's border and maximise, minimize, close buttons.
setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint) don't help me. -
I solved this problem:
@QDialog *ctl = new QDialog(this);
ctl->setFixedSize(200,200);
QMdiSubWindow *sub = ui->mdiArea->addSubWindow(ctl);
sub->setWindowFlags(Qt::FramelessWindowHint);
ctl->show();@