This commit is contained in:
Андрей Дувакин 2025-01-08 23:04:32 +05:00
parent f3154d7b61
commit 70b534283d
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,11 @@
import sys
from PyQt6.QtWidgets import QApplication
from main_window import MainWindow
if __name__ == '__main__':
app = QApplication(sys.argv)
window = MainWindow()
window.show()
sys.exit(app.exec())

9
Desktop/main_window.py Normal file
View File

@ -0,0 +1,9 @@
from PyQt6 import uic
from PyQt6.QtWidgets import QMainWindow
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
uic.loadUi('ui/main.ui', self)