20 lines
454 B
Python
20 lines
454 B
Python
# This Python file uses the following encoding: utf-8
|
|
import sys
|
|
|
|
from PySide6.QtWidgets import QApplication, QMainWindow
|
|
from ui_form import Ui_MainWindow
|
|
|
|
|
|
class MainWindow(QMainWindow):
|
|
def __init__(self, parent=None):
|
|
super().__init__(parent)
|
|
self.ui = Ui_MainWindow()
|
|
self.ui.setupUi(self)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app = QApplication(sys.argv)
|
|
widget = MainWindow()
|
|
widget.show()
|
|
sys.exit(app.exec())
|