mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 20:22:58 +03:00
b105228d3c
Это окно обязательное, вместе с гифкой --------- Co-authored-by: Maxim Slipenko <no-reply@maxim.slipenko.com>
18 lines
469 B
Python
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() |