mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
可以显示UI
This commit is contained in:
10
VM/mainwindow.py
Normal file
10
VM/mainwindow.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import sys
|
||||
import ui_mainwindow
|
||||
import PyQt5.QtWidgets as QtWidgets
|
||||
|
||||
app = QtWidgets.QApplication(sys.argv)
|
||||
window = QtWidgets.QMainWindow()
|
||||
ui = ui_mainwindow.Ui_MainWindow()
|
||||
ui.setupUi(window)
|
||||
window.show()
|
||||
sys.exit(app.exec_())
|
||||
Reference in New Issue
Block a user