完成了<呼吸可用性及间期标注>的代码重构
修复了<人工纠正>中多次寻峰时会保存多个相同峰值横坐标的问题
This commit is contained in:
@ -94,13 +94,13 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
|
||||
self.gridLayout_5.addWidget(self.pushButton_calculate_peaks_save, 2, 0, 1, 1)
|
||||
|
||||
self.pushButton_input_data_and_label = QPushButton(self.groupBox_left)
|
||||
self.pushButton_input_data_and_label.setObjectName(u"pushButton_input_data_and_label")
|
||||
sizePolicy.setHeightForWidth(self.pushButton_input_data_and_label.sizePolicy().hasHeightForWidth())
|
||||
self.pushButton_input_data_and_label.setSizePolicy(sizePolicy)
|
||||
self.pushButton_input_data_and_label.setFont(font1)
|
||||
self.pushButton_input_and_label = QPushButton(self.groupBox_left)
|
||||
self.pushButton_input_and_label.setObjectName(u"pushButton_input_and_label")
|
||||
sizePolicy.setHeightForWidth(self.pushButton_input_and_label.sizePolicy().hasHeightForWidth())
|
||||
self.pushButton_input_and_label.setSizePolicy(sizePolicy)
|
||||
self.pushButton_input_and_label.setFont(font1)
|
||||
|
||||
self.gridLayout_5.addWidget(self.pushButton_input_data_and_label, 0, 1, 3, 1)
|
||||
self.gridLayout_5.addWidget(self.pushButton_input_and_label, 0, 1, 3, 1)
|
||||
|
||||
|
||||
self.verticalLayout_2.addLayout(self.gridLayout_5)
|
||||
@ -135,14 +135,16 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
self.doubleSpinBox_quality_threshold1 = QDoubleSpinBox(self.groupBox_autoqualitylabel_options)
|
||||
self.doubleSpinBox_quality_threshold1.setObjectName(u"doubleSpinBox_quality_threshold1")
|
||||
self.doubleSpinBox_quality_threshold1.setFont(font1)
|
||||
self.doubleSpinBox_quality_threshold1.setMaximum(10000.000000000000000)
|
||||
self.doubleSpinBox_quality_threshold1.setMaximum(1.000000000000000)
|
||||
self.doubleSpinBox_quality_threshold1.setSingleStep(0.100000000000000)
|
||||
|
||||
self.gridLayout_3.addWidget(self.doubleSpinBox_quality_threshold1, 0, 1, 1, 1)
|
||||
|
||||
self.doubleSpinBox_quality_threshold2 = QDoubleSpinBox(self.groupBox_autoqualitylabel_options)
|
||||
self.doubleSpinBox_quality_threshold2.setObjectName(u"doubleSpinBox_quality_threshold2")
|
||||
self.doubleSpinBox_quality_threshold2.setFont(font1)
|
||||
self.doubleSpinBox_quality_threshold2.setMaximum(10000.000000000000000)
|
||||
self.doubleSpinBox_quality_threshold2.setMaximum(1.000000000000000)
|
||||
self.doubleSpinBox_quality_threshold2.setSingleStep(0.100000000000000)
|
||||
|
||||
self.gridLayout_3.addWidget(self.doubleSpinBox_quality_threshold2, 1, 1, 1, 1)
|
||||
|
||||
@ -201,14 +203,16 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
self.doubleSpinBox_fillterMode_custom_low = QDoubleSpinBox(self.groupBox_threshold_setting)
|
||||
self.doubleSpinBox_fillterMode_custom_low.setObjectName(u"doubleSpinBox_fillterMode_custom_low")
|
||||
self.doubleSpinBox_fillterMode_custom_low.setFont(font1)
|
||||
self.doubleSpinBox_fillterMode_custom_low.setMaximum(10000.000000000000000)
|
||||
self.doubleSpinBox_fillterMode_custom_low.setMaximum(1.000000000000000)
|
||||
self.doubleSpinBox_fillterMode_custom_low.setSingleStep(0.100000000000000)
|
||||
|
||||
self.gridLayout_6.addWidget(self.doubleSpinBox_fillterMode_custom_low, 3, 1, 1, 1)
|
||||
|
||||
self.doubleSpinBox_fillterMode_custom_high = QDoubleSpinBox(self.groupBox_threshold_setting)
|
||||
self.doubleSpinBox_fillterMode_custom_high.setObjectName(u"doubleSpinBox_fillterMode_custom_high")
|
||||
self.doubleSpinBox_fillterMode_custom_high.setFont(font1)
|
||||
self.doubleSpinBox_fillterMode_custom_high.setMaximum(10000.000000000000000)
|
||||
self.doubleSpinBox_fillterMode_custom_high.setMaximum(1.000000000000000)
|
||||
self.doubleSpinBox_fillterMode_custom_high.setSingleStep(0.100000000000000)
|
||||
|
||||
self.gridLayout_6.addWidget(self.doubleSpinBox_fillterMode_custom_high, 3, 3, 1, 1)
|
||||
|
||||
@ -229,6 +233,7 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
self.radioButton_orgBcg_fillterMode_preset = QRadioButton(self.groupBox_threshold_setting)
|
||||
self.radioButton_orgBcg_fillterMode_preset.setObjectName(u"radioButton_orgBcg_fillterMode_preset")
|
||||
self.radioButton_orgBcg_fillterMode_preset.setFont(font1)
|
||||
self.radioButton_orgBcg_fillterMode_preset.setChecked(True)
|
||||
|
||||
self.gridLayout_6.addWidget(self.radioButton_orgBcg_fillterMode_preset, 0, 0, 1, 1)
|
||||
|
||||
@ -471,7 +476,7 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
self.pushButton_calculate_peaks.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u8ba1\u7b97\u5cf0\u503c\u5e76\u7ed8\u5236", None))
|
||||
self.pushButton_input_and_calculate_peaks.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5bfc\u5165\u5e76\u7b97\u6cd5\u5b9a\u4f4d\u5cf0\u503c", None))
|
||||
self.pushButton_calculate_peaks_save.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u4fdd\u5b58\u5cf0\u503c\u7ed3\u679c", None))
|
||||
self.pushButton_input_data_and_label.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5bfc\u5165\u5e76\u5f00\u59cb\u6807\u6ce8", None))
|
||||
self.pushButton_input_and_label.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5bfc\u5165\u5e76\u5f00\u59cb\u6807\u6ce8", None))
|
||||
self.groupBox_autoqualitylabel_options.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u4eba\u5de5\u6807\u6ce8\u9608\u503c\u8bbe\u7f6e", None))
|
||||
self.label_6.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"threshold[1]", None))
|
||||
self.label_5.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"threshold[0]", None))
|
||||
|
||||
@ -122,7 +122,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1" rowspan="3">
|
||||
<widget class="QPushButton" name="pushButton_input_data_and_label">
|
||||
<widget class="QPushButton" name="pushButton_input_and_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
@ -204,7 +204,10 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>10000.000000000000000</double>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>0.100000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -216,7 +219,10 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>10000.000000000000000</double>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>0.100000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -324,7 +330,10 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>10000.000000000000000</double>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>0.100000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -336,7 +345,10 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>10000.000000000000000</double>
|
||||
<double>1.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>0.100000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -380,6 +392,9 @@
|
||||
<property name="text">
|
||||
<string>预设</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
|
||||
@ -100,10 +100,10 @@ class Ui_MainWindow_resp_quality_label_input_setting(object):
|
||||
|
||||
self.verticalLayout_3.addLayout(self.horizontalLayout_3)
|
||||
|
||||
self.plainTextEdit_file_path_input_Tho = QPlainTextEdit(self.groupBox_file_path_input_Tho)
|
||||
self.plainTextEdit_file_path_input_Tho.setObjectName(u"plainTextEdit_file_path_input_Tho")
|
||||
self.plainTextEdit_file_path_input_signal_Tho = QPlainTextEdit(self.groupBox_file_path_input_Tho)
|
||||
self.plainTextEdit_file_path_input_signal_Tho.setObjectName(u"plainTextEdit_file_path_input_signal_Tho")
|
||||
|
||||
self.verticalLayout_3.addWidget(self.plainTextEdit_file_path_input_Tho)
|
||||
self.verticalLayout_3.addWidget(self.plainTextEdit_file_path_input_signal_Tho)
|
||||
|
||||
self.verticalLayout_3.setStretch(0, 1)
|
||||
self.verticalLayout_3.setStretch(1, 2)
|
||||
@ -181,8 +181,8 @@ class Ui_MainWindow_resp_quality_label_input_setting(object):
|
||||
self.plainTextEdit_file_path_input_signal_OrgBCG.setPlaceholderText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u6587\u4ef6\u8def\u5f84", None))
|
||||
self.groupBox_file_path_input_Tho.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u540c\u6b65\u540e\u7684Effort Tho\u8def\u5f84", None))
|
||||
self.label_3.setText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u91c7\u6837\u7387(Hz)\uff1a", None))
|
||||
self.plainTextEdit_file_path_input_Tho.setPlainText("")
|
||||
self.plainTextEdit_file_path_input_Tho.setPlaceholderText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u6587\u4ef6\u8def\u5f84", None))
|
||||
self.plainTextEdit_file_path_input_signal_Tho.setPlainText("")
|
||||
self.plainTextEdit_file_path_input_signal_Tho.setPlaceholderText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u6587\u4ef6\u8def\u5f84", None))
|
||||
self.groupBox_file_path_input_artifact.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u4f53\u52a8Artifact_a\u8def\u5f84", None))
|
||||
self.plainTextEdit_file_path_input_artifact.setPlainText("")
|
||||
self.plainTextEdit_file_path_input_artifact.setPlaceholderText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u6587\u4ef6\u8def\u5f84", None))
|
||||
|
||||
@ -126,7 +126,7 @@
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPlainTextEdit" name="plainTextEdit_file_path_input_Tho">
|
||||
<widget class="QPlainTextEdit" name="plainTextEdit_file_path_input_signal_Tho">
|
||||
<property name="plainText">
|
||||
<string/>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user