标签:
void MainWindow::open(){ QDialog *dialog = new QDialog; dialog->setAttribute(Qt::WA_DeleteOnClose); dialog->setWindowTitle(tr("Hello, dialog!")); dialog->show();}
qt5 模态对话框设置
原文地址:http://www.cnblogs.com/IamQtCreator/p/4537382.html