-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
33 lines (23 loc) · 843 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# import random
import sys
from PySide6.QtWidgets import QApplication, QMainWindow, QSizePolicy
# from PySide6.QtCharts import QChart, QChartView, QValueAxis, QLineSeries
# from PySide6.QtGui import QPainter
# from PySide6.QtCore import Qt
# from PySide6.QtCore import QFile
from ui.MainWindowTest import Ui_MainWindow
from UtStatistic.utstatistic import FillStatistics
class MainWindow(QMainWindow, Ui_MainWindow):
def __init__(self, *args, **kwargs):
super(MainWindow, self).__init__(*args, **kwargs)
# setup UI
self.setupUi(self)
# setup stackedWidget_Pages_Widgets
# setup Overview
newstatistic = FillStatistics()
newstatistic.setupCharts()
if __name__ == "__main__":
app = QApplication(sys.argv)
window = MainWindow()
window.show()
sys.exit(app.exec())