deleteonclose专题

【QT】关于Qt::WA_DeleteOnClose的使用问题

今天在解决软件bug的过程中,注意到QT关于[slot] bool QWidget::close()有这样一段说明: If the widget has the Qt::WA_DeleteOnClose flag, the widget is also deleted. A close events is delivered to the widget no matter if the wid