[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);
    QMdiSubWindow *sub = ui->mdiArea->addSubWindow(ctl);

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.