-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmainwindow.py
92 lines (85 loc) · 4.82 KB
/
mainwindow.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1308, 850)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.face = QtWidgets.QLabel(self.centralwidget)
self.face.setGeometry(QtCore.QRect(620, 10, 681, 391))
self.face.setText("")
self.face.setObjectName("face")
self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 410, 531, 431))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.Layout_BVP = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.Layout_BVP.setContentsMargins(0, 0, 0, 0)
self.Layout_BVP.setObjectName("Layout_BVP")
self.verticalLayoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget_2.setGeometry(QtCore.QRect(10, 10, 601, 391))
self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2")
self.Layout_button = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_2)
self.Layout_button.setContentsMargins(0, 0, 0, 0)
self.Layout_button.setObjectName("Layout_button")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.comboBox = QtWidgets.QComboBox(self.verticalLayoutWidget_2)
self.comboBox.setMinimumSize(QtCore.QSize(0, 28))
self.comboBox.setMaximumSize(QtCore.QSize(16777215, 28))
self.comboBox.setObjectName("comboBox")
self.comboBox.addItem("")
self.comboBox.addItem("")
self.comboBox.addItem("")
self.comboBox.addItem("")
self.horizontalLayout.addWidget(self.comboBox)
self.Layout_button.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.Button_RawTrue = QtWidgets.QPushButton(self.verticalLayoutWidget_2)
self.Button_RawTrue.setObjectName("Button_RawTrue")
self.horizontalLayout_2.addWidget(self.Button_RawTrue)
self.Button_RawFalse = QtWidgets.QPushButton(self.verticalLayoutWidget_2)
self.Button_RawFalse.setObjectName("Button_RawFalse")
self.horizontalLayout_2.addWidget(self.Button_RawFalse)
self.Layout_button.addLayout(self.horizontalLayout_2)
self.label = QtWidgets.QLabel(self.verticalLayoutWidget_2)
self.label.setMinimumSize(QtCore.QSize(0, 300))
font = QtGui.QFont()
font.setFamily("Consolas")
font.setPointSize(18)
self.label.setFont(font)
self.label.setText("")
self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.label.setObjectName("label")
self.Layout_button.addWidget(self.label)
self.verticalLayoutWidget_3 = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget_3.setGeometry(QtCore.QRect(890, 410, 411, 431))
self.verticalLayoutWidget_3.setObjectName("verticalLayoutWidget_3")
self.Layout_Signal = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_3)
self.Layout_Signal.setContentsMargins(0, 0, 0, 0)
self.Layout_Signal.setObjectName("Layout_Signal")
self.verticalLayoutWidget_4 = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget_4.setGeometry(QtCore.QRect(550, 410, 331, 431))
self.verticalLayoutWidget_4.setObjectName("verticalLayoutWidget_4")
self.Layout_Spec = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_4)
self.Layout_Spec.setContentsMargins(0, 0, 0, 0)
self.Layout_Spec.setObjectName("Layout_Spec")
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.comboBox.setItemText(0, _translate("MainWindow", "GREEN"))
self.comboBox.setItemText(1, _translate("MainWindow", "GREEN-RED"))
self.comboBox.setItemText(2, _translate("MainWindow", "CHROM"))
self.comboBox.setItemText(3, _translate("MainWindow", "PBV"))
self.Button_RawTrue.setText(_translate("MainWindow", "原始信号"))
self.Button_RawFalse.setText(_translate("MainWindow", "滤波信号"))