📜  pyqt 关闭窗口 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:26.049000             🧑  作者: Mango

代码示例2
from PyQt5 import QtWidgets
class Ui(QtWidgets.QMainWindow):
    ...
    def close_window(self):
        self.close()