statapp/statapp/main_window.py
MisterMLiL b105228d3c
feat: добавлено окно "О программе" (with Kitty) (#14)
Это окно обязательное, вместе с гифкой

---------

Co-authored-by: Maxim Slipenko <no-reply@maxim.slipenko.com>
2023-09-26 16:03:28 +03:00

18 lines
469 B
Python

from PySide6.QtCore import Slot
from PySide6.QtWidgets import QMainWindow
from statapp.about_window import AboutWindow
from statapp.ui.ui_main_window import Ui_MainWindow
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.ui = Ui_MainWindow()
self.ui.setupUi(self)
@Slot()
def on_aboutmenuaction_triggered(self):
global about_window
about_window = AboutWindow()
about_window.show()