update 首次更新
This commit is contained in:
18
app.py
Normal file
18
app.py
Normal file
@ -0,0 +1,18 @@
|
||||
import sys
|
||||
|
||||
from PySide6.QtWidgets import QMainWindow, QApplication
|
||||
|
||||
from ui_untitled import Ui_MainWindow
|
||||
|
||||
class MainWindow(QMainWindow, Ui_MainWindow):
|
||||
def __init__(self):
|
||||
super(MainWindow, self).__init__()
|
||||
self.setupUi(self)
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = QApplication(sys.argv)
|
||||
win = MainWindow()
|
||||
win.show()
|
||||
app.exec()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user