方案生成字节数据修改
This commit is contained in:
@@ -48,7 +48,9 @@ class updata_dlg(QWidget):
|
||||
icon = QIcon()
|
||||
icon.addPixmap(Logo, QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.setWindowIcon(icon)
|
||||
|
||||
def closeEvent(self,e:QCloseEvent):
|
||||
print("close clicked.")
|
||||
QWidget.closeEvent(self,e)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
@@ -56,3 +58,4 @@ if __name__ == "__main__":
|
||||
dlg=updata_dlg()
|
||||
dlg.show()
|
||||
app.exec()
|
||||
sys.exit(0)
|
||||
|
Reference in New Issue
Block a user