- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
Latest commit
16 lines (12 loc) · 378 Bytes
/
Copy pathmain.py
File metadata and controls
16 lines (12 loc) · 378 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
importsys
fromPyQt5importQtCore
fromPyQt5.QtWidgetsimportQApplication, QMainWindow
fromUIimportUI
if__name__=='__main__':
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)
app=QApplication(sys.argv)
MainWindow=QMainWindow()
ui=UI.Ui_Dialog()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())