窗口退出&初始化

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)
posted @ 2021-12-20 17:36  默*为  阅读(39)  评论(0编辑  收藏  举报