方案生成字节数据修改

This commit is contained in:
ranchuan
2023-10-30 18:36:52 +08:00
parent 524424ab23
commit 15134b55fc
5 changed files with 84 additions and 7 deletions

View File

@@ -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)