1、完成了<数据精对齐>的所有代码

This commit is contained in:
2025-05-08 15:51:32 +08:00
parent b4c4e124f8
commit 6a250a64a0
12 changed files with 2662 additions and 480 deletions

View File

@ -18,33 +18,33 @@ from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
QTransform)
from PySide6.QtWidgets import (QAbstractSpinBox, QApplication, QGridLayout, QGroupBox,
QHBoxLayout, QLabel, QMainWindow, QPushButton,
QSizePolicy, QSpacerItem, QSpinBox, QStatusBar,
QTextBrowser, QVBoxLayout, QWidget)
QRadioButton, QSizePolicy, QSpacerItem, QSpinBox,
QStatusBar, QTextBrowser, QVBoxLayout, QWidget)
class Ui_MainWindow_detect_Jpeak(object):
def setupUi(self, MainWindow_detect_Jpeak):
if not MainWindow_detect_Jpeak.objectName():
MainWindow_detect_Jpeak.setObjectName(u"MainWindow_detect_Jpeak")
MainWindow_detect_Jpeak.setEnabled(True)
MainWindow_detect_Jpeak.resize(1920, 1080)
class Ui_MainWindow_precisely_align(object):
def setupUi(self, MainWindow_precisely_align):
if not MainWindow_precisely_align.objectName():
MainWindow_precisely_align.setObjectName(u"MainWindow_precisely_align")
MainWindow_precisely_align.setEnabled(True)
MainWindow_precisely_align.resize(1920, 1080)
sizePolicy = QSizePolicy(QSizePolicy.Policy.Ignored, QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow_detect_Jpeak.sizePolicy().hasHeightForWidth())
MainWindow_detect_Jpeak.setSizePolicy(sizePolicy)
sizePolicy.setHeightForWidth(MainWindow_precisely_align.sizePolicy().hasHeightForWidth())
MainWindow_precisely_align.setSizePolicy(sizePolicy)
font = QFont()
font.setPointSize(12)
MainWindow_detect_Jpeak.setFont(font)
self.action_selectPath = QAction(MainWindow_detect_Jpeak)
MainWindow_precisely_align.setFont(font)
self.action_selectPath = QAction(MainWindow_precisely_align)
self.action_selectPath.setObjectName(u"action_selectPath")
font1 = QFont()
font1.setFamilies([u"\u9ed1\u4f53"])
font1.setPointSize(14)
self.action_selectPath.setFont(font1)
self.action = QAction(MainWindow_detect_Jpeak)
self.action = QAction(MainWindow_precisely_align)
self.action.setObjectName(u"action")
self.action.setFont(font1)
self.centralwidget = QWidget(MainWindow_detect_Jpeak)
self.centralwidget = QWidget(MainWindow_precisely_align)
self.centralwidget.setObjectName(u"centralwidget")
self.gridLayout = QGridLayout(self.centralwidget)
self.gridLayout.setObjectName(u"gridLayout")
@ -100,164 +100,332 @@ class Ui_MainWindow_detect_Jpeak(object):
self.groupBox_2.setObjectName(u"groupBox_2")
self.verticalLayout_2 = QVBoxLayout(self.groupBox_2)
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.horizontalLayout_2 = QHBoxLayout()
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
self.label_3 = QLabel(self.groupBox_2)
self.label_3.setObjectName(u"label_3")
self.label_3.setFont(font)
self.label_3.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.gridLayout_2 = QGridLayout()
self.gridLayout_2.setObjectName(u"gridLayout_2")
self.spinBox_BCG_front_Signal_2 = QSpinBox(self.groupBox_2)
self.spinBox_BCG_front_Signal_2.setObjectName(u"spinBox_BCG_front_Signal_2")
self.spinBox_BCG_front_Signal_2.setEnabled(False)
self.spinBox_BCG_front_Signal_2.setFont(font)
self.spinBox_BCG_front_Signal_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_front_Signal_2.setMinimum(0)
self.spinBox_BCG_front_Signal_2.setMaximum(1000000000)
self.horizontalLayout_2.addWidget(self.label_3)
self.gridLayout_2.addWidget(self.spinBox_BCG_front_Signal_2, 1, 4, 1, 1)
self.spinBox_BCG_front_1 = QSpinBox(self.groupBox_2)
self.spinBox_BCG_front_1.setObjectName(u"spinBox_BCG_front_1")
self.spinBox_BCG_front_1.setFont(font)
self.spinBox_BCG_front_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_front_1.setMinimum(0)
self.spinBox_BCG_front_1.setMaximum(1000000000)
self.spinBox_BCG_front_JJIV_1 = QSpinBox(self.groupBox_2)
self.spinBox_BCG_front_JJIV_1.setObjectName(u"spinBox_BCG_front_JJIV_1")
self.spinBox_BCG_front_JJIV_1.setFont(font)
self.spinBox_BCG_front_JJIV_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_front_JJIV_1.setMinimum(0)
self.spinBox_BCG_front_JJIV_1.setMaximum(1000000000)
self.horizontalLayout_2.addWidget(self.spinBox_BCG_front_1)
self.gridLayout_2.addWidget(self.spinBox_BCG_front_JJIV_1, 0, 2, 1, 1)
self.radioButton_BCG_front = QRadioButton(self.groupBox_2)
self.radioButton_BCG_front.setObjectName(u"radioButton_BCG_front")
self.radioButton_BCG_front.setFont(font)
self.radioButton_BCG_front.setChecked(True)
self.gridLayout_2.addWidget(self.radioButton_BCG_front, 0, 0, 2, 1)
self.label_4 = QLabel(self.groupBox_2)
self.label_4.setObjectName(u"label_4")
self.label_4.setFont(font)
self.label_4.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.horizontalLayout_2.addWidget(self.label_4)
self.gridLayout_2.addWidget(self.label_4, 0, 3, 1, 1)
self.spinBox_BCG_front_2 = QSpinBox(self.groupBox_2)
self.spinBox_BCG_front_2.setObjectName(u"spinBox_BCG_front_2")
self.spinBox_BCG_front_2.setFont(font)
self.spinBox_BCG_front_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_front_2.setMinimum(0)
self.spinBox_BCG_front_2.setMaximum(1000000000)
self.spinBox_BCG_front_Signal_1 = QSpinBox(self.groupBox_2)
self.spinBox_BCG_front_Signal_1.setObjectName(u"spinBox_BCG_front_Signal_1")
self.spinBox_BCG_front_Signal_1.setEnabled(False)
self.spinBox_BCG_front_Signal_1.setFont(font)
self.spinBox_BCG_front_Signal_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_front_Signal_1.setMinimum(0)
self.spinBox_BCG_front_Signal_1.setMaximum(1000000000)
self.horizontalLayout_2.addWidget(self.spinBox_BCG_front_2)
self.gridLayout_2.addWidget(self.spinBox_BCG_front_Signal_1, 1, 2, 1, 1)
self.spinBox_BCG_front_JJIV_2 = QSpinBox(self.groupBox_2)
self.spinBox_BCG_front_JJIV_2.setObjectName(u"spinBox_BCG_front_JJIV_2")
self.spinBox_BCG_front_JJIV_2.setFont(font)
self.spinBox_BCG_front_JJIV_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_front_JJIV_2.setMinimum(0)
self.spinBox_BCG_front_JJIV_2.setMaximum(1000000000)
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
self.horizontalLayout_5 = QHBoxLayout()
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
self.label_5 = QLabel(self.groupBox_2)
self.label_5.setObjectName(u"label_5")
self.label_5.setFont(font)
self.label_5.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.horizontalLayout_5.addWidget(self.label_5)
self.spinBox_ECG_front_1 = QSpinBox(self.groupBox_2)
self.spinBox_ECG_front_1.setObjectName(u"spinBox_ECG_front_1")
self.spinBox_ECG_front_1.setFont(font)
self.spinBox_ECG_front_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_front_1.setMinimum(0)
self.spinBox_ECG_front_1.setMaximum(1000000000)
self.horizontalLayout_5.addWidget(self.spinBox_ECG_front_1)
self.gridLayout_2.addWidget(self.spinBox_BCG_front_JJIV_2, 0, 4, 1, 1)
self.label_6 = QLabel(self.groupBox_2)
self.label_6.setObjectName(u"label_6")
self.label_6.setFont(font)
self.label_6.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.horizontalLayout_5.addWidget(self.label_6)
self.gridLayout_2.addWidget(self.label_6, 1, 3, 1, 1)
self.spinBox_ECG_front_2 = QSpinBox(self.groupBox_2)
self.spinBox_ECG_front_2.setObjectName(u"spinBox_ECG_front_2")
self.spinBox_ECG_front_2.setFont(font)
self.spinBox_ECG_front_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_front_2.setMinimum(0)
self.spinBox_ECG_front_2.setMaximum(1000000000)
self.label = QLabel(self.groupBox_2)
self.label.setObjectName(u"label")
self.label.setFont(font)
self.horizontalLayout_5.addWidget(self.spinBox_ECG_front_2)
self.gridLayout_2.addWidget(self.label, 0, 1, 1, 1)
self.label_2 = QLabel(self.groupBox_2)
self.label_2.setObjectName(u"label_2")
self.label_2.setFont(font)
self.gridLayout_2.addWidget(self.label_2, 1, 1, 1, 1)
self.verticalLayout_2.addLayout(self.horizontalLayout_5)
self.verticalLayout_2.addLayout(self.gridLayout_2)
self.verticalLayout_5.addWidget(self.groupBox_2)
self.groupBox_4 = QGroupBox(self.groupBox_args)
self.groupBox_4.setObjectName(u"groupBox_4")
self.verticalLayout_4 = QVBoxLayout(self.groupBox_4)
self.verticalLayout_4.setObjectName(u"verticalLayout_4")
self.gridLayout_3 = QGridLayout()
self.gridLayout_3.setObjectName(u"gridLayout_3")
self.spinBox_BCG_back_Signal_2 = QSpinBox(self.groupBox_4)
self.spinBox_BCG_back_Signal_2.setObjectName(u"spinBox_BCG_back_Signal_2")
self.spinBox_BCG_back_Signal_2.setEnabled(False)
self.spinBox_BCG_back_Signal_2.setFont(font)
self.spinBox_BCG_back_Signal_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_back_Signal_2.setMinimum(0)
self.spinBox_BCG_back_Signal_2.setMaximum(1000000000)
self.gridLayout_3.addWidget(self.spinBox_BCG_back_Signal_2, 1, 4, 1, 1)
self.spinBox_BCG_back_Signal_1 = QSpinBox(self.groupBox_4)
self.spinBox_BCG_back_Signal_1.setObjectName(u"spinBox_BCG_back_Signal_1")
self.spinBox_BCG_back_Signal_1.setEnabled(False)
self.spinBox_BCG_back_Signal_1.setFont(font)
self.spinBox_BCG_back_Signal_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_back_Signal_1.setMinimum(0)
self.spinBox_BCG_back_Signal_1.setMaximum(1000000000)
self.gridLayout_3.addWidget(self.spinBox_BCG_back_Signal_1, 1, 2, 1, 1)
self.spinBox_BCG_back_JJIV_2 = QSpinBox(self.groupBox_4)
self.spinBox_BCG_back_JJIV_2.setObjectName(u"spinBox_BCG_back_JJIV_2")
self.spinBox_BCG_back_JJIV_2.setFont(font)
self.spinBox_BCG_back_JJIV_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_back_JJIV_2.setMinimum(0)
self.spinBox_BCG_back_JJIV_2.setMaximum(1000000000)
self.gridLayout_3.addWidget(self.spinBox_BCG_back_JJIV_2, 0, 4, 1, 1)
self.radioButton_BCG_back = QRadioButton(self.groupBox_4)
self.radioButton_BCG_back.setObjectName(u"radioButton_BCG_back")
self.radioButton_BCG_back.setFont(font)
self.radioButton_BCG_back.setChecked(False)
self.gridLayout_3.addWidget(self.radioButton_BCG_back, 0, 0, 2, 1)
self.spinBox_BCG_back_JJIV_1 = QSpinBox(self.groupBox_4)
self.spinBox_BCG_back_JJIV_1.setObjectName(u"spinBox_BCG_back_JJIV_1")
self.spinBox_BCG_back_JJIV_1.setFont(font)
self.spinBox_BCG_back_JJIV_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_back_JJIV_1.setMinimum(0)
self.spinBox_BCG_back_JJIV_1.setMaximum(1000000000)
self.gridLayout_3.addWidget(self.spinBox_BCG_back_JJIV_1, 0, 2, 1, 1)
self.label_7 = QLabel(self.groupBox_4)
self.label_7.setObjectName(u"label_7")
self.label_7.setFont(font)
self.label_7.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.gridLayout_3.addWidget(self.label_7, 1, 3, 1, 1)
self.label_5 = QLabel(self.groupBox_4)
self.label_5.setObjectName(u"label_5")
self.label_5.setFont(font)
self.label_5.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.gridLayout_3.addWidget(self.label_5, 0, 3, 1, 1)
self.label_3 = QLabel(self.groupBox_4)
self.label_3.setObjectName(u"label_3")
self.label_3.setFont(font)
self.gridLayout_3.addWidget(self.label_3, 0, 1, 1, 1)
self.label_12 = QLabel(self.groupBox_4)
self.label_12.setObjectName(u"label_12")
self.label_12.setFont(font)
self.gridLayout_3.addWidget(self.label_12, 1, 1, 1, 1)
self.verticalLayout_4.addLayout(self.gridLayout_3)
self.verticalLayout_5.addWidget(self.groupBox_4)
self.groupBox_3 = QGroupBox(self.groupBox_args)
self.groupBox_3.setObjectName(u"groupBox_3")
self.verticalLayout_3 = QVBoxLayout(self.groupBox_3)
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
self.horizontalLayout_6 = QHBoxLayout()
self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
self.label_7 = QLabel(self.groupBox_3)
self.label_7.setObjectName(u"label_7")
self.label_7.setFont(font)
self.label_7.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.gridLayout_4 = QGridLayout()
self.gridLayout_4.setObjectName(u"gridLayout_4")
self.spinBox_ECG_front_RRIV_2 = QSpinBox(self.groupBox_3)
self.spinBox_ECG_front_RRIV_2.setObjectName(u"spinBox_ECG_front_RRIV_2")
self.spinBox_ECG_front_RRIV_2.setFont(font)
self.spinBox_ECG_front_RRIV_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_front_RRIV_2.setMinimum(0)
self.spinBox_ECG_front_RRIV_2.setMaximum(1000000000)
self.horizontalLayout_6.addWidget(self.label_7)
self.spinBox_BCG_back_1 = QSpinBox(self.groupBox_3)
self.spinBox_BCG_back_1.setObjectName(u"spinBox_BCG_back_1")
self.spinBox_BCG_back_1.setFont(font)
self.spinBox_BCG_back_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_back_1.setMinimum(0)
self.spinBox_BCG_back_1.setMaximum(1000000000)
self.horizontalLayout_6.addWidget(self.spinBox_BCG_back_1)
self.label_8 = QLabel(self.groupBox_3)
self.label_8.setObjectName(u"label_8")
self.label_8.setFont(font)
self.label_8.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.horizontalLayout_6.addWidget(self.label_8)
self.spinBox_BCG_back_2 = QSpinBox(self.groupBox_3)
self.spinBox_BCG_back_2.setObjectName(u"spinBox_BCG_back_2")
self.spinBox_BCG_back_2.setFont(font)
self.spinBox_BCG_back_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_BCG_back_2.setMinimum(0)
self.spinBox_BCG_back_2.setMaximum(1000000000)
self.horizontalLayout_6.addWidget(self.spinBox_BCG_back_2)
self.verticalLayout_3.addLayout(self.horizontalLayout_6)
self.horizontalLayout_7 = QHBoxLayout()
self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
self.label_9 = QLabel(self.groupBox_3)
self.label_9.setObjectName(u"label_9")
self.label_9.setFont(font)
self.label_9.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.horizontalLayout_7.addWidget(self.label_9)
self.spinBox_ECG_back_1 = QSpinBox(self.groupBox_3)
self.spinBox_ECG_back_1.setObjectName(u"spinBox_ECG_back_1")
self.spinBox_ECG_back_1.setFont(font)
self.spinBox_ECG_back_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_back_1.setMinimum(0)
self.spinBox_ECG_back_1.setMaximum(1000000000)
self.horizontalLayout_7.addWidget(self.spinBox_ECG_back_1)
self.gridLayout_4.addWidget(self.spinBox_ECG_front_RRIV_2, 0, 4, 1, 1)
self.label_10 = QLabel(self.groupBox_3)
self.label_10.setObjectName(u"label_10")
self.label_10.setFont(font)
self.label_10.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.horizontalLayout_7.addWidget(self.label_10)
self.gridLayout_4.addWidget(self.label_10, 1, 3, 1, 1)
self.spinBox_ECG_back_2 = QSpinBox(self.groupBox_3)
self.spinBox_ECG_back_2.setObjectName(u"spinBox_ECG_back_2")
self.spinBox_ECG_back_2.setFont(font)
self.spinBox_ECG_back_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_back_2.setMinimum(0)
self.spinBox_ECG_back_2.setMaximum(1000000000)
self.radioButton_ECG_front = QRadioButton(self.groupBox_3)
self.radioButton_ECG_front.setObjectName(u"radioButton_ECG_front")
self.radioButton_ECG_front.setFont(font)
self.horizontalLayout_7.addWidget(self.spinBox_ECG_back_2)
self.gridLayout_4.addWidget(self.radioButton_ECG_front, 0, 0, 2, 1)
self.spinBox_ECG_front_Signal_2 = QSpinBox(self.groupBox_3)
self.spinBox_ECG_front_Signal_2.setObjectName(u"spinBox_ECG_front_Signal_2")
self.spinBox_ECG_front_Signal_2.setEnabled(False)
self.spinBox_ECG_front_Signal_2.setFont(font)
self.spinBox_ECG_front_Signal_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_front_Signal_2.setMinimum(0)
self.spinBox_ECG_front_Signal_2.setMaximum(1000000000)
self.gridLayout_4.addWidget(self.spinBox_ECG_front_Signal_2, 1, 4, 1, 1)
self.spinBox_ECG_front_Signal_1 = QSpinBox(self.groupBox_3)
self.spinBox_ECG_front_Signal_1.setObjectName(u"spinBox_ECG_front_Signal_1")
self.spinBox_ECG_front_Signal_1.setEnabled(False)
self.spinBox_ECG_front_Signal_1.setFont(font)
self.spinBox_ECG_front_Signal_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_front_Signal_1.setMinimum(0)
self.spinBox_ECG_front_Signal_1.setMaximum(1000000000)
self.gridLayout_4.addWidget(self.spinBox_ECG_front_Signal_1, 1, 2, 1, 1)
self.spinBox_ECG_front_RRIV_1 = QSpinBox(self.groupBox_3)
self.spinBox_ECG_front_RRIV_1.setObjectName(u"spinBox_ECG_front_RRIV_1")
self.spinBox_ECG_front_RRIV_1.setFont(font)
self.spinBox_ECG_front_RRIV_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_front_RRIV_1.setMinimum(0)
self.spinBox_ECG_front_RRIV_1.setMaximum(1000000000)
self.gridLayout_4.addWidget(self.spinBox_ECG_front_RRIV_1, 0, 2, 1, 1)
self.label_8 = QLabel(self.groupBox_3)
self.label_8.setObjectName(u"label_8")
self.label_8.setFont(font)
self.label_8.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.gridLayout_4.addWidget(self.label_8, 0, 3, 1, 1)
self.label_13 = QLabel(self.groupBox_3)
self.label_13.setObjectName(u"label_13")
self.label_13.setFont(font)
self.gridLayout_4.addWidget(self.label_13, 0, 1, 1, 1)
self.label_14 = QLabel(self.groupBox_3)
self.label_14.setObjectName(u"label_14")
self.label_14.setFont(font)
self.gridLayout_4.addWidget(self.label_14, 1, 1, 1, 1)
self.verticalLayout_3.addLayout(self.horizontalLayout_7)
self.verticalLayout_3.addLayout(self.gridLayout_4)
self.verticalLayout_5.addWidget(self.groupBox_3)
self.groupBox_5 = QGroupBox(self.groupBox_args)
self.groupBox_5.setObjectName(u"groupBox_5")
self.verticalLayout_8 = QVBoxLayout(self.groupBox_5)
self.verticalLayout_8.setObjectName(u"verticalLayout_8")
self.gridLayout_5 = QGridLayout()
self.gridLayout_5.setObjectName(u"gridLayout_5")
self.radioButton_ECG_back = QRadioButton(self.groupBox_5)
self.radioButton_ECG_back.setObjectName(u"radioButton_ECG_back")
self.radioButton_ECG_back.setFont(font)
self.gridLayout_5.addWidget(self.radioButton_ECG_back, 0, 0, 2, 1)
self.label_11 = QLabel(self.groupBox_5)
self.label_11.setObjectName(u"label_11")
self.label_11.setFont(font)
self.label_11.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.gridLayout_5.addWidget(self.label_11, 1, 3, 1, 1)
self.spinBox_ECG_back_RRIV_2 = QSpinBox(self.groupBox_5)
self.spinBox_ECG_back_RRIV_2.setObjectName(u"spinBox_ECG_back_RRIV_2")
self.spinBox_ECG_back_RRIV_2.setFont(font)
self.spinBox_ECG_back_RRIV_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_back_RRIV_2.setMinimum(0)
self.spinBox_ECG_back_RRIV_2.setMaximum(1000000000)
self.gridLayout_5.addWidget(self.spinBox_ECG_back_RRIV_2, 0, 4, 1, 1)
self.spinBox_ECG_back_Signal_2 = QSpinBox(self.groupBox_5)
self.spinBox_ECG_back_Signal_2.setObjectName(u"spinBox_ECG_back_Signal_2")
self.spinBox_ECG_back_Signal_2.setEnabled(False)
self.spinBox_ECG_back_Signal_2.setFont(font)
self.spinBox_ECG_back_Signal_2.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_back_Signal_2.setMinimum(0)
self.spinBox_ECG_back_Signal_2.setMaximum(1000000000)
self.gridLayout_5.addWidget(self.spinBox_ECG_back_Signal_2, 1, 4, 1, 1)
self.spinBox_ECG_back_RRIV_1 = QSpinBox(self.groupBox_5)
self.spinBox_ECG_back_RRIV_1.setObjectName(u"spinBox_ECG_back_RRIV_1")
self.spinBox_ECG_back_RRIV_1.setFont(font)
self.spinBox_ECG_back_RRIV_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_back_RRIV_1.setMinimum(0)
self.spinBox_ECG_back_RRIV_1.setMaximum(1000000000)
self.gridLayout_5.addWidget(self.spinBox_ECG_back_RRIV_1, 0, 2, 1, 1)
self.spinBox_ECG_back_Signal_1 = QSpinBox(self.groupBox_5)
self.spinBox_ECG_back_Signal_1.setObjectName(u"spinBox_ECG_back_Signal_1")
self.spinBox_ECG_back_Signal_1.setEnabled(False)
self.spinBox_ECG_back_Signal_1.setFont(font)
self.spinBox_ECG_back_Signal_1.setButtonSymbols(QAbstractSpinBox.ButtonSymbols.NoButtons)
self.spinBox_ECG_back_Signal_1.setMinimum(0)
self.spinBox_ECG_back_Signal_1.setMaximum(1000000000)
self.gridLayout_5.addWidget(self.spinBox_ECG_back_Signal_1, 1, 2, 1, 1)
self.label_9 = QLabel(self.groupBox_5)
self.label_9.setObjectName(u"label_9")
self.label_9.setFont(font)
self.label_9.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.gridLayout_5.addWidget(self.label_9, 0, 3, 1, 1)
self.label_15 = QLabel(self.groupBox_5)
self.label_15.setObjectName(u"label_15")
self.label_15.setFont(font)
self.gridLayout_5.addWidget(self.label_15, 0, 1, 1, 1)
self.label_16 = QLabel(self.groupBox_5)
self.label_16.setObjectName(u"label_16")
self.label_16.setFont(font)
self.gridLayout_5.addWidget(self.label_16, 1, 1, 1, 1)
self.verticalLayout_8.addLayout(self.gridLayout_5)
self.verticalLayout_5.addWidget(self.groupBox_5)
self.verticalLayout.addWidget(self.groupBox_args)
@ -288,13 +456,13 @@ class Ui_MainWindow_detect_Jpeak(object):
self.horizontalLayout_3 = QHBoxLayout()
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
self.pushButton_precise_align = QPushButton(self.groupBox_left)
self.pushButton_precise_align.setObjectName(u"pushButton_precise_align")
sizePolicy1.setHeightForWidth(self.pushButton_precise_align.sizePolicy().hasHeightForWidth())
self.pushButton_precise_align.setSizePolicy(sizePolicy1)
self.pushButton_precise_align.setFont(font)
self.pushButton_view_align = QPushButton(self.groupBox_left)
self.pushButton_view_align.setObjectName(u"pushButton_view_align")
sizePolicy1.setHeightForWidth(self.pushButton_view_align.sizePolicy().hasHeightForWidth())
self.pushButton_view_align.setSizePolicy(sizePolicy1)
self.pushButton_view_align.setFont(font)
self.horizontalLayout_3.addWidget(self.pushButton_precise_align)
self.horizontalLayout_3.addWidget(self.pushButton_view_align)
self.pushButton_save = QPushButton(self.groupBox_left)
self.pushButton_save.setObjectName(u"pushButton_save")
@ -321,7 +489,7 @@ class Ui_MainWindow_detect_Jpeak(object):
self.verticalLayout.setStretch(0, 1)
self.verticalLayout.setStretch(1, 7)
self.verticalLayout.setStretch(2, 3)
self.verticalLayout.setStretch(2, 2)
self.verticalLayout.setStretch(3, 1)
self.verticalLayout.setStretch(4, 1)
self.verticalLayout.setStretch(5, 5)
@ -330,39 +498,53 @@ class Ui_MainWindow_detect_Jpeak(object):
self.gridLayout.setColumnStretch(0, 2)
self.gridLayout.setColumnStretch(1, 8)
MainWindow_detect_Jpeak.setCentralWidget(self.centralwidget)
self.statusbar = QStatusBar(MainWindow_detect_Jpeak)
MainWindow_precisely_align.setCentralWidget(self.centralwidget)
self.statusbar = QStatusBar(MainWindow_precisely_align)
self.statusbar.setObjectName(u"statusbar")
MainWindow_detect_Jpeak.setStatusBar(self.statusbar)
MainWindow_precisely_align.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow_detect_Jpeak)
self.retranslateUi(MainWindow_precisely_align)
QMetaObject.connectSlotsByName(MainWindow_detect_Jpeak)
QMetaObject.connectSlotsByName(MainWindow_precisely_align)
# setupUi
def retranslateUi(self, MainWindow_detect_Jpeak):
MainWindow_detect_Jpeak.setWindowTitle(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u6570\u636e\u7cbe\u540c\u6b65", None))
self.action_selectPath.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u6570\u636e\u8def\u5f84\u9009\u62e9", None))
self.action.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u52a0\u8f7d\u5b58\u6863", None))
self.groupBox_canvas.setTitle(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u7ed8\u56fe\u533a", None))
self.groupBox_left.setTitle(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u9884\u5904\u7406", None))
self.pushButton_input_setting.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u5bfc\u5165\u8bbe\u7f6e", None))
self.pushButton_input.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u5f00\u59cb\u5bfc\u5165", None))
self.groupBox_args.setTitle(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u53c2\u6570\u8f93\u5165", None))
self.groupBox_2.setTitle(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u524d\u6bb5\u533a\u95f4\u5750\u6807\u53d6\u503c", None))
self.label_3.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"BCG", None))
self.label_4.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"~", None))
self.label_5.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"ECG", None))
self.label_6.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"~", None))
self.groupBox_3.setTitle(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u540e\u6bb5\u533a\u95f4\u5750\u6807\u53d6\u503c", None))
self.label_7.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"BCG", None))
self.label_8.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"~", None))
self.label_9.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"ECG", None))
self.label_10.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"~", None))
self.pushButton_calculate_correlation.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u8ba1\u7b97\u76f8\u5173\u6027", None))
self.pushButton_correlation_align.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u76f8\u5173\u5bf9\u9f50", None))
self.pushButton_precise_align.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u7cbe\u7ec6\u5bf9\u9f50", None))
self.pushButton_save.setText(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u4fdd\u5b58\u7ed3\u679c", None))
self.groupBox.setTitle(QCoreApplication.translate("MainWindow_detect_Jpeak", u"\u65e5\u5fd7", None))
def retranslateUi(self, MainWindow_precisely_align):
MainWindow_precisely_align.setWindowTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u6570\u636e\u7cbe\u540c\u6b65", None))
self.action_selectPath.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u6570\u636e\u8def\u5f84\u9009\u62e9", None))
self.action.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u52a0\u8f7d\u5b58\u6863", None))
self.groupBox_canvas.setTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u7ed8\u56fe\u533a", None))
self.groupBox_left.setTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u9884\u5904\u7406", None))
self.pushButton_input_setting.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u5bfc\u5165\u8bbe\u7f6e", None))
self.pushButton_input.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u5f00\u59cb\u5bfc\u5165", None))
self.groupBox_args.setTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u53c2\u6570\u8f93\u5165", None))
self.groupBox_2.setTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u524d\u6bb5BCG\u533a\u95f4\u5750\u6807\u53d6\u503c", None))
self.radioButton_BCG_front.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u524d\u6bb5BCG", None))
self.label_4.setText(QCoreApplication.translate("MainWindow_precisely_align", u"~", None))
self.label_6.setText(QCoreApplication.translate("MainWindow_precisely_align", u"~", None))
self.label.setText(QCoreApplication.translate("MainWindow_precisely_align", u"JJIV\u5e8f\u53f7", None))
self.label_2.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u4fe1\u53f7\u5750\u6807", None))
self.groupBox_4.setTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u540e\u6bb5BCG\u533a\u95f4\u5750\u6807\u53d6\u503c", None))
self.radioButton_BCG_back.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u540e\u6bb5BCG", None))
self.label_7.setText(QCoreApplication.translate("MainWindow_precisely_align", u"~", None))
self.label_5.setText(QCoreApplication.translate("MainWindow_precisely_align", u"~", None))
self.label_3.setText(QCoreApplication.translate("MainWindow_precisely_align", u"JJIV\u5e8f\u53f7", None))
self.label_12.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u4fe1\u53f7\u5750\u6807", None))
self.groupBox_3.setTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u524d\u6bb5ECG\u533a\u95f4\u5750\u6807\u53d6\u503c", None))
self.label_10.setText(QCoreApplication.translate("MainWindow_precisely_align", u"~", None))
self.radioButton_ECG_front.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u524d\u6bb5ECG", None))
self.label_8.setText(QCoreApplication.translate("MainWindow_precisely_align", u"~", None))
self.label_13.setText(QCoreApplication.translate("MainWindow_precisely_align", u"RRIV\u5e8f\u53f7", None))
self.label_14.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u4fe1\u53f7\u5750\u6807", None))
self.groupBox_5.setTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u540e\u6bb5ECG\u533a\u95f4\u5750\u6807\u53d6\u503c", None))
self.radioButton_ECG_back.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u540e\u6bb5ECG", None))
self.label_11.setText(QCoreApplication.translate("MainWindow_precisely_align", u"~", None))
self.label_9.setText(QCoreApplication.translate("MainWindow_precisely_align", u"~", None))
self.label_15.setText(QCoreApplication.translate("MainWindow_precisely_align", u"RRIV\u5e8f\u53f7", None))
self.label_16.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u4fe1\u53f7\u5750\u6807", None))
self.pushButton_calculate_correlation.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u8ba1\u7b97\u76f8\u5173\u6027", None))
self.pushButton_correlation_align.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u76f8\u5173\u5bf9\u9f50", None))
self.pushButton_view_align.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u67e5\u770b\u5bf9\u9f50\u7ed3\u679c", None))
self.pushButton_save.setText(QCoreApplication.translate("MainWindow_precisely_align", u"\u4fdd\u5b58\u7ed3\u679c", None))
self.groupBox.setTitle(QCoreApplication.translate("MainWindow_precisely_align", u"\u65e5\u5fd7", None))
# retranslateUi

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow_detect_Jpeak</class>
<widget class="QMainWindow" name="MainWindow_detect_Jpeak">
<class>MainWindow_precisely_align</class>
<widget class="QMainWindow" name="MainWindow_precisely_align">
<property name="enabled">
<bool>true</bool>
</property>
@ -56,7 +56,7 @@
<property name="title">
<string>预处理</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="1,7,3,1,1,5">
<layout class="QVBoxLayout" name="verticalLayout" stretch="1,7,2,1,1,5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
@ -102,32 +102,20 @@
<property name="title">
<string>参数输入</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5" stretch="0,0">
<layout class="QVBoxLayout" name="verticalLayout_5" stretch="0,0,0,0">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>前段区间坐标取值</string>
<string>前段BCG区间坐标取值</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="4">
<widget class="QSpinBox" name="spinBox_BCG_front_Signal_2">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>BCG</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_BCG_front_1">
<property name="font">
<font>
<pointsize>12</pointsize>
@ -144,7 +132,40 @@
</property>
</widget>
</item>
<item>
<item row="0" column="2">
<widget class="QSpinBox" name="spinBox_BCG_front_JJIV_1">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="2">
<widget class="QRadioButton" name="radioButton_BCG_front">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>前段BCG</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_4">
<property name="font">
<font>
@ -159,8 +180,11 @@
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_BCG_front_2">
<item row="1" column="2">
<widget class="QSpinBox" name="spinBox_BCG_front_Signal_1">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
@ -177,27 +201,8 @@
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>ECG</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_ECG_front_1">
<item row="0" column="4">
<widget class="QSpinBox" name="spinBox_BCG_front_JJIV_2">
<property name="font">
<font>
<pointsize>12</pointsize>
@ -214,7 +219,7 @@
</property>
</widget>
</item>
<item>
<item row="1" column="3">
<widget class="QLabel" name="label_6">
<property name="font">
<font>
@ -229,21 +234,27 @@
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_ECG_front_2">
<item row="0" column="1">
<widget class="QLabel" name="label">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
<property name="text">
<string>JJIV序号</string>
</property>
<property name="minimum">
<number>0</number>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="maximum">
<number>1000000000</number>
<property name="text">
<string>信号坐标</string>
</property>
</widget>
</item>
@ -253,30 +264,18 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>后段区间坐标取值</string>
<string>后段BCG区间坐标取值</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_7">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="4">
<widget class="QSpinBox" name="spinBox_BCG_back_Signal_2">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>BCG</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_BCG_back_1">
<property name="font">
<font>
<pointsize>12</pointsize>
@ -293,8 +292,80 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_8">
<item row="1" column="2">
<widget class="QSpinBox" name="spinBox_BCG_back_Signal_1">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QSpinBox" name="spinBox_BCG_back_JJIV_2">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="2">
<widget class="QRadioButton" name="radioButton_BCG_back">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>后段BCG</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="spinBox_BCG_back_JJIV_1">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_7">
<property name="font">
<font>
<pointsize>12</pointsize>
@ -308,45 +379,60 @@
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_BCG_back_2">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="label_9">
<item row="0" column="3">
<widget class="QLabel" name="label_5">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>ECG</string>
<string>~</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_ECG_back_1">
<item row="0" column="1">
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>JJIV序号</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_12">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>信号坐标</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>前段ECG区间坐标取值</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="4">
<widget class="QSpinBox" name="spinBox_ECG_front_RRIV_2">
<property name="font">
<font>
<pointsize>12</pointsize>
@ -363,7 +449,7 @@
</property>
</widget>
</item>
<item>
<item row="1" column="3">
<widget class="QLabel" name="label_10">
<property name="font">
<font>
@ -378,8 +464,23 @@
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_ECG_back_2">
<item row="0" column="0" rowspan="2">
<widget class="QRadioButton" name="radioButton_ECG_front">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>前段ECG</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QSpinBox" name="spinBox_ECG_front_Signal_2">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
@ -396,6 +497,241 @@
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="spinBox_ECG_front_Signal_1">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="spinBox_ECG_front_RRIV_1">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_8">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>~</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_13">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>RRIV序号</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_14">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>信号坐标</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>后段ECG区间坐标取值</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0" rowspan="2">
<widget class="QRadioButton" name="radioButton_ECG_back">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>后段ECG</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_11">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>~</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QSpinBox" name="spinBox_ECG_back_RRIV_2">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QSpinBox" name="spinBox_ECG_back_Signal_2">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="spinBox_ECG_back_RRIV_1">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="spinBox_ECG_back_Signal_1">
<property name="enabled">
<bool>false</bool>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>1000000000</number>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_9">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>~</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_15">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>RRIV序号</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_16">
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>信号坐标</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
@ -460,7 +796,7 @@
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QPushButton" name="pushButton_precise_align">
<widget class="QPushButton" name="pushButton_view_align">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
@ -473,7 +809,7 @@
</font>
</property>
<property name="text">
<string>精细对齐</string>
<string>查看对齐结果</string>
</property>
</widget>
</item>