原文:setQuitOnLastWindowClosed

首先看函数QApplication::setQuitOnLastWindowClosed bool ,该函数的作用是 This property holds whether the application implicitly quits when the last window is closed. The default is true 即控制着当最后一个可视的窗口退出时候,程序是否退出,默认 ...

2018-10-16 11:31 0 1239 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM