Reorganisation of UI interface

This commit is contained in:
Jonas_Jones 2022-07-27 19:49:11 +02:00
parent b9f0f42952
commit d345c9d823
11 changed files with 71 additions and 38 deletions

12
done.py
View file

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'done.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
@ -45,3 +45,13 @@ class Ui_done(object):
" and enjoy your now less\n"
" bloaty Windows installation!"))
self.pushButton.setText(_translate("done", "Exit Program"))
def show():
import sys
app = QtWidgets.QApplication(sys.argv)
done = QtWidgets.QMainWindow()
ui = Ui_done()
ui.setupUi(done)
done.show()
sys.exit(app.exec_())