窗口退出&初始化
class Test(QtWidgets.QMainWindow, Ui_dlg):
def closeEvent(self, e):
#to do
super().closeEvent(e)
def __init__(self):
super(Test, self).__init__()
self.setupUi(self)
本文来自博客园,作者:{archer},转载请注明原文链接:https://www.cnblogs.com/archer-mowei/p/15711844.html