blob: afdd6258494105e2311cae9f8d55e6754f44c031 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import sys
from PySide2 import QtWidgets
from MainWindow2 import Ui_MainWindow
class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.setupUi(self)
app = QtWidgets.QApplication(sys.argv)
window = MainWindow()
window.show()
app.exec_()
|