kuikuitage

  博客园  ::  :: 新随笔  :: 联系 ::  :: 管理

2020年4月30日

摘要: "QT 关闭主窗口时触发关闭所有打开的其他窗口" 1.用的信号/槽实现 在main函数中将QApplication::lastWindowClosed()信号和QApplication::quit()槽函数相关联 2.设置窗口参数 Qt::WA_QuitOnClose attribute,为true 阅读全文
posted @ 2020-04-30 23:26 kuikuitage 阅读(950) 评论(0) 推荐(0)