Qt::WA_QuitOnClose-CSDN博客

网站介绍:文章浏览阅读1.3k次,点赞3次,收藏6次。帮助文档中的解释:Makes Qt quit the application when the last widget with the attribute set has accepted closeEvent(). This behavior can be modified with the QApplication::quitOnLastWindowClosed property. By default this attribute is set for all widgets of type Qt_wa_quitonclose