-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui_main_window.py
96 lines (80 loc) · 3.49 KB
/
gui_main_window.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'gui_main_window.ui'
##
## Created by: Qt User Interface Compiler version 6.4.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
QFont, QFontDatabase, QGradient, QIcon,
QImage, QKeySequence, QLinearGradient, QPainter,
QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QFrame, QGridLayout, QMainWindow,
QSizePolicy, QWidget)
from import_widget import ImportWidget
from plot_widget import PlotWidget
from species_control_widget import SpeciesControl
from species_list_widget import SpeciesList
import resources_rc
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(779, 551)
icon = QIcon()
icon.addFile(u":/Icon/Resources/Icons/App_t.png", QSize(), QIcon.Normal, QIcon.Off)
MainWindow.setWindowIcon(icon)
MainWindow.setStyleSheet(u"")
self.centralwidget = QWidget(MainWindow)
self.centralwidget.setObjectName(u"centralwidget")
self.centralwidget.setStyleSheet(u"@font-face {\n"
" font-family: Heebo;\n"
" src: url(:/Font/Resources/Font/Heebo-VariableFont_wght.ttf) format(\"truetype\");\n"
"}\n"
"*{\n"
"color: #000000;\n"
"font-family: Heebo;\n"
"font-size: 12px;\n"
"font-weight: bold;\n"
"background: none;\n"
"}\n"
"#centralwidget{\n"
"background-color: rgb(245,245,245);\n"
"}\n"
"\n"
"")
self.gridLayout = QGridLayout(self.centralwidget)
self.gridLayout.setSpacing(2)
self.gridLayout.setObjectName(u"gridLayout")
self.gridLayout.setContentsMargins(1, 1, 1, 1)
self.frm_open = ImportWidget(self.centralwidget)
self.frm_open.setObjectName(u"frm_open")
self.frm_open.setFrameShape(QFrame.StyledPanel)
self.frm_open.setFrameShadow(QFrame.Raised)
self.gridLayout.addWidget(self.frm_open, 0, 0, 1, 2)
self.frm_list = SpeciesList(self.centralwidget)
self.frm_list.setObjectName(u"frm_list")
self.frm_list.setFrameShape(QFrame.StyledPanel)
self.frm_list.setFrameShadow(QFrame.Raised)
self.gridLayout.addWidget(self.frm_list, 1, 0, 1, 1)
self.frm_ctrl = SpeciesControl(self.centralwidget)
self.frm_ctrl.setObjectName(u"frm_ctrl")
self.frm_ctrl.setFrameShape(QFrame.NoFrame)
self.frm_ctrl.setFrameShadow(QFrame.Raised)
self.gridLayout.addWidget(self.frm_ctrl, 2, 0, 1, 2)
self.frm_plot = PlotWidget(self.centralwidget)
self.frm_plot.setObjectName(u"frm_plot")
self.frm_plot.setFrameShape(QFrame.StyledPanel)
self.frm_plot.setFrameShadow(QFrame.Raised)
self.gridLayout.addWidget(self.frm_plot, 1, 1, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QMetaObject.connectSlotsByName(MainWindow)
# setupUi
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"AUC Peak Decomposition Program", None))
# retranslateUi