QDialog QWidget 默认show()都是非模态
如果需要模态显示,
QDialog ==> setModal(true); show(); exec();

QWidget ==> setWindowModality(Qt::ApplicationModal); show(); exec();

05-11 22:23