void MainWindow::open(){ QDialog *dialog = new QDialog; dialog->setAttribute(Qt::WA_DeleteOnClose); dialog->setWindowTitle(tr("Hello, dialog!")); dialog->show();}
posted on 2015-05-28 23:56 areu-me 阅读(430) 评论(0) 编辑 收藏 举报