QDialog执行exec()和show()的区别。_dialog.exec();-CSDN博客

网站介绍:文章浏览阅读1.2w次。1.如果使用exec()默认为模态的。如果用show()需要设置setModel(true)才是模态的。2._dialog.exec();