Qt学习7——模态和非模态对话框
对话框分为
模态对话框(不可以对其他窗口进行操作)
非模态对话框(可以对其他窗口进行操作)
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "QDialog"
#include "QDebug"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
原创
2020-10-14 21:16:21 ·
187 阅读 ·
0 评论