From 424943e640ddc322edb97c907f8c63fcf6897524 Mon Sep 17 00:00:00 2001 From: Yorusora <2944763079@qq.com> Date: Wed, 21 May 2025 19:33:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BA=86<=E5=91=BC=E5=90=B8?= =?UTF-8?q?=E5=8F=AF=E7=94=A8=E6=80=A7=E5=8F=8A=E9=97=B4=E6=9C=9F=E6=A0=87?= =?UTF-8?q?=E6=B3=A8>=E7=9A=84UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- func/utils/ConfigParams.py | 5 +- func/utils/Constants.py | 5 +- .../MainWindow_resp_quality_label.py | 507 ++++++++++++ .../MainWindow_resp_quality_label.ui | 756 ++++++++++++++++++ .../resp_quality_label_input_setting.py | 195 +++++ .../resp_quality_label_input_setting.ui | 213 +++++ 6 files changed, 1679 insertions(+), 2 deletions(-) create mode 100644 ui/MainWindow/MainWindow_resp_quality_label.py create mode 100644 ui/MainWindow/MainWindow_resp_quality_label.ui create mode 100644 ui/setting/resp_quality_label_input_setting.py create mode 100644 ui/setting/resp_quality_label_input_setting.ui diff --git a/func/utils/ConfigParams.py b/func/utils/ConfigParams.py index c248fd8..254fa36 100644 --- a/func/utils/ConfigParams.py +++ b/func/utils/ConfigParams.py @@ -286,7 +286,10 @@ class ConfigParams: - # TODO:弃用 + + + + # 质量打标 BCG_QUALITY_LABEL_INPUT_BCG_FILENAME: str = "BCG_sync_" BCG_QUALITY_LABEL_INPUT_ARTIFACT_FILENAME: str = "Artifact_a" diff --git a/func/utils/Constants.py b/func/utils/Constants.py index 71a1735..717a91b 100644 --- a/func/utils/Constants.py +++ b/func/utils/Constants.py @@ -401,7 +401,10 @@ class Constants: - # TODO:弃用 + + + + # 质量打标 BCG_QUALITY_LABEL_FILES_NOT_FOUND: str = f"无法找到{ConfigParams.BCG_QUALITY_LABEL_INPUT_BCG_FILENAME}{ConfigParams.ENDSWITH_TXT}或{ConfigParams.BCG_QUALITY_LABEL_INPUT_ARTIFACT_FILENAME}{ConfigParams.ENDSWITH_TXT},无法执行" BCG_QUALITY_LABEL_FILES_FOUND: str = f"找到{ConfigParams.BCG_QUALITY_LABEL_INPUT_BCG_FILENAME}{ConfigParams.ENDSWITH_TXT}和{ConfigParams.BCG_QUALITY_LABEL_INPUT_ARTIFACT_FILENAME}{ConfigParams.ENDSWITH_TXT}" diff --git a/ui/MainWindow/MainWindow_resp_quality_label.py b/ui/MainWindow/MainWindow_resp_quality_label.py new file mode 100644 index 0000000..4367465 --- /dev/null +++ b/ui/MainWindow/MainWindow_resp_quality_label.py @@ -0,0 +1,507 @@ +# -*- coding: utf-8 -*- + +################################################################################ +## Form generated from reading UI file 'MainWindow_resp_quality_label.ui' +## +## Created by: Qt User Interface Compiler version 6.8.2 +## +## 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, QDoubleSpinBox, QGridLayout, QGroupBox, + QHBoxLayout, QHeaderView, QLabel, QLineEdit, + QMainWindow, QPushButton, QRadioButton, QSizePolicy, + QSpacerItem, QStatusBar, QTableWidget, QTableWidgetItem, + QTextBrowser, QVBoxLayout, QWidget) + +class Ui_MainWindow_resp_quality_label(object): + def setupUi(self, MainWindow_resp_quality_label): + if not MainWindow_resp_quality_label.objectName(): + MainWindow_resp_quality_label.setObjectName(u"MainWindow_resp_quality_label") + MainWindow_resp_quality_label.resize(1920, 1080) + self.centralwidget = QWidget(MainWindow_resp_quality_label) + self.centralwidget.setObjectName(u"centralwidget") + self.gridLayout = QGridLayout(self.centralwidget) + self.gridLayout.setObjectName(u"gridLayout") + self.groupBox_canvas = QGroupBox(self.centralwidget) + self.groupBox_canvas.setObjectName(u"groupBox_canvas") + font = QFont() + font.setPointSize(10) + self.groupBox_canvas.setFont(font) + self.verticalLayout = QVBoxLayout(self.groupBox_canvas) + self.verticalLayout.setObjectName(u"verticalLayout") + self.verticalLayout_canvas = QVBoxLayout() + self.verticalLayout_canvas.setObjectName(u"verticalLayout_canvas") + + self.verticalLayout.addLayout(self.verticalLayout_canvas) + + + self.gridLayout.addWidget(self.groupBox_canvas, 0, 1, 1, 1) + + self.groupBox_left = QGroupBox(self.centralwidget) + self.groupBox_left.setObjectName(u"groupBox_left") + self.groupBox_left.setFont(font) + self.verticalLayout_2 = QVBoxLayout(self.groupBox_left) + self.verticalLayout_2.setObjectName(u"verticalLayout_2") + self.horizontalLayout = QHBoxLayout() + self.horizontalLayout.setObjectName(u"horizontalLayout") + self.pushButton_input_setting = QPushButton(self.groupBox_left) + self.pushButton_input_setting.setObjectName(u"pushButton_input_setting") + sizePolicy = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Minimum) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.pushButton_input_setting.sizePolicy().hasHeightForWidth()) + self.pushButton_input_setting.setSizePolicy(sizePolicy) + font1 = QFont() + font1.setPointSize(12) + self.pushButton_input_setting.setFont(font1) + + self.horizontalLayout.addWidget(self.pushButton_input_setting) + + + self.verticalLayout_2.addLayout(self.horizontalLayout) + + self.gridLayout_5 = QGridLayout() + self.gridLayout_5.setObjectName(u"gridLayout_5") + self.pushButton_calculate_peaks = QPushButton(self.groupBox_left) + self.pushButton_calculate_peaks.setObjectName(u"pushButton_calculate_peaks") + sizePolicy.setHeightForWidth(self.pushButton_calculate_peaks.sizePolicy().hasHeightForWidth()) + self.pushButton_calculate_peaks.setSizePolicy(sizePolicy) + self.pushButton_calculate_peaks.setFont(font1) + + self.gridLayout_5.addWidget(self.pushButton_calculate_peaks, 1, 0, 1, 1) + + self.pushButton_input_and_calculate_peaks = QPushButton(self.groupBox_left) + self.pushButton_input_and_calculate_peaks.setObjectName(u"pushButton_input_and_calculate_peaks") + sizePolicy.setHeightForWidth(self.pushButton_input_and_calculate_peaks.sizePolicy().hasHeightForWidth()) + self.pushButton_input_and_calculate_peaks.setSizePolicy(sizePolicy) + self.pushButton_input_and_calculate_peaks.setFont(font1) + + self.gridLayout_5.addWidget(self.pushButton_input_and_calculate_peaks, 0, 0, 1, 1) + + self.pushButton_calculate_peaks_save = QPushButton(self.groupBox_left) + self.pushButton_calculate_peaks_save.setObjectName(u"pushButton_calculate_peaks_save") + sizePolicy.setHeightForWidth(self.pushButton_calculate_peaks_save.sizePolicy().hasHeightForWidth()) + self.pushButton_calculate_peaks_save.setSizePolicy(sizePolicy) + self.pushButton_calculate_peaks_save.setFont(font1) + + 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.gridLayout_5.addWidget(self.pushButton_input_data_and_label, 0, 1, 3, 1) + + + self.verticalLayout_2.addLayout(self.gridLayout_5) + + self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_2.addItem(self.verticalSpacer) + + self.groupBox_autoqualitylabel_options = QGroupBox(self.groupBox_left) + self.groupBox_autoqualitylabel_options.setObjectName(u"groupBox_autoqualitylabel_options") + self.gridLayout_3 = QGridLayout(self.groupBox_autoqualitylabel_options) + self.gridLayout_3.setObjectName(u"gridLayout_3") + self.label_6 = QLabel(self.groupBox_autoqualitylabel_options) + self.label_6.setObjectName(u"label_6") + sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed) + sizePolicy1.setHorizontalStretch(0) + sizePolicy1.setVerticalStretch(0) + sizePolicy1.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth()) + self.label_6.setSizePolicy(sizePolicy1) + self.label_6.setFont(font1) + + self.gridLayout_3.addWidget(self.label_6, 1, 0, 1, 1) + + self.label_5 = QLabel(self.groupBox_autoqualitylabel_options) + self.label_5.setObjectName(u"label_5") + sizePolicy1.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth()) + self.label_5.setSizePolicy(sizePolicy1) + self.label_5.setFont(font1) + + self.gridLayout_3.addWidget(self.label_5, 0, 0, 1, 1) + + 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.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.gridLayout_3.addWidget(self.doubleSpinBox_quality_threshold2, 1, 1, 1, 1) + + self.pushButton_autoqualitylabel_recalculate = QPushButton(self.groupBox_autoqualitylabel_options) + self.pushButton_autoqualitylabel_recalculate.setObjectName(u"pushButton_autoqualitylabel_recalculate") + sizePolicy.setHeightForWidth(self.pushButton_autoqualitylabel_recalculate.sizePolicy().hasHeightForWidth()) + self.pushButton_autoqualitylabel_recalculate.setSizePolicy(sizePolicy) + self.pushButton_autoqualitylabel_recalculate.setFont(font1) + + self.gridLayout_3.addWidget(self.pushButton_autoqualitylabel_recalculate, 2, 1, 1, 1) + + + self.verticalLayout_2.addWidget(self.groupBox_autoqualitylabel_options) + + self.groupBox_findpeaks_options = QGroupBox(self.groupBox_left) + self.groupBox_findpeaks_options.setObjectName(u"groupBox_findpeaks_options") + self.gridLayout_2 = QGridLayout(self.groupBox_findpeaks_options) + self.gridLayout_2.setObjectName(u"gridLayout_2") + self.label_4 = QLabel(self.groupBox_findpeaks_options) + self.label_4.setObjectName(u"label_4") + sizePolicy1.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth()) + self.label_4.setSizePolicy(sizePolicy1) + self.label_4.setFont(font1) + + self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 1) + + self.doubleSpinBox_findpeaks_min_interval = QDoubleSpinBox(self.groupBox_findpeaks_options) + self.doubleSpinBox_findpeaks_min_interval.setObjectName(u"doubleSpinBox_findpeaks_min_interval") + self.doubleSpinBox_findpeaks_min_interval.setFont(font1) + self.doubleSpinBox_findpeaks_min_interval.setMaximum(10000.000000000000000) + + self.gridLayout_2.addWidget(self.doubleSpinBox_findpeaks_min_interval, 0, 1, 1, 1) + + self.label_3 = QLabel(self.groupBox_findpeaks_options) + self.label_3.setObjectName(u"label_3") + sizePolicy1.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth()) + self.label_3.setSizePolicy(sizePolicy1) + self.label_3.setFont(font1) + + self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1) + + self.doubleSpinBox_findpeaks_min_height = QDoubleSpinBox(self.groupBox_findpeaks_options) + self.doubleSpinBox_findpeaks_min_height.setObjectName(u"doubleSpinBox_findpeaks_min_height") + self.doubleSpinBox_findpeaks_min_height.setFont(font1) + self.doubleSpinBox_findpeaks_min_height.setMaximum(10000.000000000000000) + + self.gridLayout_2.addWidget(self.doubleSpinBox_findpeaks_min_height, 1, 1, 1, 1) + + + self.verticalLayout_2.addWidget(self.groupBox_findpeaks_options) + + self.groupBox_threshold_setting = QGroupBox(self.groupBox_left) + self.groupBox_threshold_setting.setObjectName(u"groupBox_threshold_setting") + self.gridLayout_6 = QGridLayout(self.groupBox_threshold_setting) + self.gridLayout_6.setObjectName(u"gridLayout_6") + 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.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.gridLayout_6.addWidget(self.doubleSpinBox_fillterMode_custom_high, 3, 3, 1, 1) + + self.label_2 = QLabel(self.groupBox_threshold_setting) + self.label_2.setObjectName(u"label_2") + self.label_2.setFont(font1) + self.label_2.setAlignment(Qt.AlignmentFlag.AlignCenter) + + self.gridLayout_6.addWidget(self.label_2, 1, 1, 1, 1) + + self.label = QLabel(self.groupBox_threshold_setting) + self.label.setObjectName(u"label") + self.label.setFont(font1) + self.label.setAlignment(Qt.AlignmentFlag.AlignCenter) + + self.gridLayout_6.addWidget(self.label, 1, 3, 1, 1) + + 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.gridLayout_6.addWidget(self.radioButton_orgBcg_fillterMode_preset, 0, 0, 1, 1) + + self.radioButton_orgBcg_fillterMode_custom = QRadioButton(self.groupBox_threshold_setting) + self.radioButton_orgBcg_fillterMode_custom.setObjectName(u"radioButton_orgBcg_fillterMode_custom") + self.radioButton_orgBcg_fillterMode_custom.setFont(font1) + + self.gridLayout_6.addWidget(self.radioButton_orgBcg_fillterMode_custom, 3, 0, 1, 1) + + self.label_7 = QLabel(self.groupBox_threshold_setting) + self.label_7.setObjectName(u"label_7") + self.label_7.setFont(font1) + + self.gridLayout_6.addWidget(self.label_7, 3, 2, 1, 1) + + self.pushButton_refilter_orgBcg = QPushButton(self.groupBox_threshold_setting) + self.pushButton_refilter_orgBcg.setObjectName(u"pushButton_refilter_orgBcg") + sizePolicy.setHeightForWidth(self.pushButton_refilter_orgBcg.sizePolicy().hasHeightForWidth()) + self.pushButton_refilter_orgBcg.setSizePolicy(sizePolicy) + self.pushButton_refilter_orgBcg.setFont(font1) + + self.gridLayout_6.addWidget(self.pushButton_refilter_orgBcg, 0, 2, 1, 2) + + + self.verticalLayout_2.addWidget(self.groupBox_threshold_setting) + + self.verticalSpacer_4 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding) + + self.verticalLayout_2.addItem(self.verticalSpacer_4) + + self.groupBox_label_operation = QGroupBox(self.groupBox_left) + self.groupBox_label_operation.setObjectName(u"groupBox_label_operation") + self.gridLayout_7 = QGridLayout(self.groupBox_label_operation) + self.gridLayout_7.setObjectName(u"gridLayout_7") + self.label_10 = QLabel(self.groupBox_label_operation) + self.label_10.setObjectName(u"label_10") + sizePolicy1.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth()) + self.label_10.setSizePolicy(sizePolicy1) + self.label_10.setFont(font1) + self.label_10.setAlignment(Qt.AlignmentFlag.AlignCenter) + + self.gridLayout_7.addWidget(self.label_10, 1, 0, 1, 1) + + self.lineEdit_current_part_label = QLineEdit(self.groupBox_label_operation) + self.lineEdit_current_part_label.setObjectName(u"lineEdit_current_part_label") + self.lineEdit_current_part_label.setEnabled(False) + self.lineEdit_current_part_label.setFont(font1) + + self.gridLayout_7.addWidget(self.lineEdit_current_part_label, 1, 1, 1, 1) + + self.lineEdit_current_part_num = QLineEdit(self.groupBox_label_operation) + self.lineEdit_current_part_num.setObjectName(u"lineEdit_current_part_num") + self.lineEdit_current_part_num.setEnabled(False) + self.lineEdit_current_part_num.setFont(font1) + + self.gridLayout_7.addWidget(self.lineEdit_current_part_num, 0, 1, 1, 1) + + self.label_8 = QLabel(self.groupBox_label_operation) + self.label_8.setObjectName(u"label_8") + sizePolicy1.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth()) + self.label_8.setSizePolicy(sizePolicy1) + self.label_8.setFont(font1) + self.label_8.setAlignment(Qt.AlignmentFlag.AlignCenter) + + self.gridLayout_7.addWidget(self.label_8, 0, 0, 1, 1) + + self.gridLayout_8 = QGridLayout() + self.gridLayout_8.setObjectName(u"gridLayout_8") + self.pushButton_invalid = QPushButton(self.groupBox_label_operation) + self.pushButton_invalid.setObjectName(u"pushButton_invalid") + sizePolicy.setHeightForWidth(self.pushButton_invalid.sizePolicy().hasHeightForWidth()) + self.pushButton_invalid.setSizePolicy(sizePolicy) + self.pushButton_invalid.setFont(font1) + + self.gridLayout_8.addWidget(self.pushButton_invalid, 0, 1, 1, 1) + + self.pushButton_reset = QPushButton(self.groupBox_label_operation) + self.pushButton_reset.setObjectName(u"pushButton_reset") + sizePolicy.setHeightForWidth(self.pushButton_reset.sizePolicy().hasHeightForWidth()) + self.pushButton_reset.setSizePolicy(sizePolicy) + self.pushButton_reset.setFont(font1) + + self.gridLayout_8.addWidget(self.pushButton_reset, 0, 2, 1, 1) + + self.pushButton_valid = QPushButton(self.groupBox_label_operation) + self.pushButton_valid.setObjectName(u"pushButton_valid") + sizePolicy.setHeightForWidth(self.pushButton_valid.sizePolicy().hasHeightForWidth()) + self.pushButton_valid.setSizePolicy(sizePolicy) + self.pushButton_valid.setFont(font1) + + self.gridLayout_8.addWidget(self.pushButton_valid, 0, 0, 1, 1) + + self.pushButton_prev = QPushButton(self.groupBox_label_operation) + self.pushButton_prev.setObjectName(u"pushButton_prev") + sizePolicy.setHeightForWidth(self.pushButton_prev.sizePolicy().hasHeightForWidth()) + self.pushButton_prev.setSizePolicy(sizePolicy) + self.pushButton_prev.setFont(font1) + + self.gridLayout_8.addWidget(self.pushButton_prev, 1, 1, 1, 1) + + self.pushButton_next = QPushButton(self.groupBox_label_operation) + self.pushButton_next.setObjectName(u"pushButton_next") + sizePolicy.setHeightForWidth(self.pushButton_next.sizePolicy().hasHeightForWidth()) + self.pushButton_next.setSizePolicy(sizePolicy) + self.pushButton_next.setFont(font1) + + self.gridLayout_8.addWidget(self.pushButton_next, 1, 2, 1, 1) + + + self.gridLayout_7.addLayout(self.gridLayout_8, 2, 0, 1, 2) + + + self.verticalLayout_2.addWidget(self.groupBox_label_operation) + + self.horizontalLayout_3 = QHBoxLayout() + self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") + self.pushButton_save = QPushButton(self.groupBox_left) + self.pushButton_save.setObjectName(u"pushButton_save") + sizePolicy.setHeightForWidth(self.pushButton_save.sizePolicy().hasHeightForWidth()) + self.pushButton_save.setSizePolicy(sizePolicy) + self.pushButton_save.setFont(font1) + + self.horizontalLayout_3.addWidget(self.pushButton_save) + + + self.verticalLayout_2.addLayout(self.horizontalLayout_3) + + self.groupBox_4 = QGroupBox(self.groupBox_left) + self.groupBox_4.setObjectName(u"groupBox_4") + self.verticalLayout_6 = QVBoxLayout(self.groupBox_4) + self.verticalLayout_6.setObjectName(u"verticalLayout_6") + self.textBrowser_info = QTextBrowser(self.groupBox_4) + self.textBrowser_info.setObjectName(u"textBrowser_info") + + self.verticalLayout_6.addWidget(self.textBrowser_info) + + + self.verticalLayout_2.addWidget(self.groupBox_4) + + self.verticalLayout_2.setStretch(0, 2) + self.verticalLayout_2.setStretch(1, 3) + self.verticalLayout_2.setStretch(2, 1) + self.verticalLayout_2.setStretch(3, 3) + self.verticalLayout_2.setStretch(4, 3) + self.verticalLayout_2.setStretch(5, 3) + self.verticalLayout_2.setStretch(6, 1) + self.verticalLayout_2.setStretch(7, 6) + self.verticalLayout_2.setStretch(8, 2) + self.verticalLayout_2.setStretch(9, 5) + + self.gridLayout.addWidget(self.groupBox_left, 0, 0, 1, 1) + + self.groupBox_right = QGroupBox(self.centralwidget) + self.groupBox_right.setObjectName(u"groupBox_right") + self.groupBox_right.setFont(font) + self.gridLayout_4 = QGridLayout(self.groupBox_right) + self.gridLayout_4.setObjectName(u"gridLayout_4") + self.groupBox = QGroupBox(self.groupBox_right) + self.groupBox.setObjectName(u"groupBox") + self.gridLayout_9 = QGridLayout(self.groupBox) + self.gridLayout_9.setObjectName(u"gridLayout_9") + self.verticalLayout_spectrum_display = QVBoxLayout() + self.verticalLayout_spectrum_display.setObjectName(u"verticalLayout_spectrum_display") + + self.gridLayout_9.addLayout(self.verticalLayout_spectrum_display, 0, 0, 1, 1) + + + self.gridLayout_4.addWidget(self.groupBox, 0, 0, 1, 1) + + self.groupBox_label = QGroupBox(self.groupBox_right) + self.groupBox_label.setObjectName(u"groupBox_label") + self.gridLayout_10 = QGridLayout(self.groupBox_label) + self.gridLayout_10.setObjectName(u"gridLayout_10") + self.label_11 = QLabel(self.groupBox_label) + self.label_11.setObjectName(u"label_11") + self.label_11.setFont(font1) + + self.gridLayout_10.addWidget(self.label_11, 2, 0, 1, 1) + + self.label_9 = QLabel(self.groupBox_label) + self.label_9.setObjectName(u"label_9") + self.label_9.setFont(font1) + + self.gridLayout_10.addWidget(self.label_9, 0, 0, 1, 1) + + self.lineEdit_filter_labeled = QLineEdit(self.groupBox_label) + self.lineEdit_filter_labeled.setObjectName(u"lineEdit_filter_labeled") + self.lineEdit_filter_labeled.setFont(font1) + + self.gridLayout_10.addWidget(self.lineEdit_filter_labeled, 0, 1, 1, 1) + + self.lineEdit_filter_tobelabeled = QLineEdit(self.groupBox_label) + self.lineEdit_filter_tobelabeled.setObjectName(u"lineEdit_filter_tobelabeled") + self.lineEdit_filter_tobelabeled.setFont(font1) + + self.gridLayout_10.addWidget(self.lineEdit_filter_tobelabeled, 2, 1, 1, 1) + + self.tableWidget_labeled = QTableWidget(self.groupBox_label) + if (self.tableWidget_labeled.columnCount() < 2): + self.tableWidget_labeled.setColumnCount(2) + self.tableWidget_labeled.setObjectName(u"tableWidget_labeled") + self.tableWidget_labeled.setColumnCount(2) + + self.gridLayout_10.addWidget(self.tableWidget_labeled, 1, 0, 1, 2) + + self.tableWidget_tobelabeled = QTableWidget(self.groupBox_label) + if (self.tableWidget_tobelabeled.columnCount() < 2): + self.tableWidget_tobelabeled.setColumnCount(2) + self.tableWidget_tobelabeled.setObjectName(u"tableWidget_tobelabeled") + self.tableWidget_tobelabeled.setColumnCount(2) + + self.gridLayout_10.addWidget(self.tableWidget_tobelabeled, 3, 0, 1, 2) + + + self.gridLayout_4.addWidget(self.groupBox_label, 1, 0, 1, 1) + + self.gridLayout_4.setRowStretch(0, 5) + self.gridLayout_4.setRowStretch(1, 4) + + self.gridLayout.addWidget(self.groupBox_right, 0, 2, 1, 1) + + self.gridLayout.setColumnStretch(0, 2) + self.gridLayout.setColumnStretch(1, 7) + self.gridLayout.setColumnStretch(2, 2) + MainWindow_resp_quality_label.setCentralWidget(self.centralwidget) + self.statusbar = QStatusBar(MainWindow_resp_quality_label) + self.statusbar.setObjectName(u"statusbar") + MainWindow_resp_quality_label.setStatusBar(self.statusbar) + + self.retranslateUi(MainWindow_resp_quality_label) + + QMetaObject.connectSlotsByName(MainWindow_resp_quality_label) + # setupUi + + def retranslateUi(self, MainWindow_resp_quality_label): + MainWindow_resp_quality_label.setWindowTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u547c\u5438\u53ef\u7528\u6027\u53ca\u95f4\u671f\u6807\u6ce8", None)) + self.groupBox_canvas.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u7ed8\u56fe\u533a", None)) + self.groupBox_left.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u547c\u5438\u53ef\u7528\u6027\u53ca\u95f4\u671f\u6807\u6ce8", None)) + self.pushButton_input_setting.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5bfc\u5165\u8bbe\u7f6e", None)) + 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.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)) + self.pushButton_autoqualitylabel_recalculate.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5e94\u7528\u5e76\u8ba1\u7b97", None)) + self.groupBox_findpeaks_options.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5bfb\u5cf0\u53c2\u6570\u8bbe\u7f6e", None)) + self.label_4.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u6700\u5c0f\u95f4\u9694", None)) + self.label_3.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u6700\u5c0f\u9ad8\u5ea6", None)) + self.groupBox_threshold_setting.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"OrgBCG\u5e26\u901a\u6ee4\u6ce2\u9891\u7387\u8bbe\u7f6e", None)) + self.label_2.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u4e0b\u622a\u6b62\u9891\u7387", None)) + self.label.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u4e0a\u622a\u6b62\u9891\u7387", None)) + self.radioButton_orgBcg_fillterMode_preset.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u9884\u8bbe", None)) + self.radioButton_orgBcg_fillterMode_custom.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u81ea\u5b9a\u4e49", None)) + self.label_7.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"~", None)) + self.pushButton_refilter_orgBcg.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5e94\u7528\u5e76\u8ba1\u7b97", None)) + self.groupBox_label_operation.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u6807\u6ce8\u64cd\u4f5c", None)) + self.label_10.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5f53\u524d\u7247\u6bb5\u6807\u7b7e", None)) + self.label_8.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5f53\u524d\u7247\u6bb5\u6570", None)) + self.pushButton_invalid.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u4e0d\u53ef\u7528\uff08G\uff09", None)) + self.pushButton_reset.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u91cd\u7f6e\uff08H\uff09", None)) + self.pushButton_valid.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u53ef\u7528\uff08F\uff09", None)) + self.pushButton_prev.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u4e0a\u4e00\u6bb5(A)", None)) + self.pushButton_next.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u4e0b\u4e00\u6bb5(D)", None)) + self.pushButton_save.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5bfc\u51fa\u6807\u7b7e", None)) + self.groupBox_4.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u65e5\u5fd7", None)) + self.groupBox_right.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u547c\u5438\u53ef\u7528\u6027\u53ca\u95f4\u671f\u6807\u6ce8", None)) + self.groupBox.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u9891\u8c31", None)) + self.groupBox_label.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u4fe1\u53f7\u7247\u6bb5\u53ca\u8d28\u91cf\u6807\u7b7e", None)) + self.label_11.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u8d28\u91cf\u672a\u6807\u6ce8\u7684\u4fe1\u53f7\u7247\u6bb5", None)) + self.label_9.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u8d28\u91cf\u5df2\u6807\u6ce8\u7684\u4fe1\u53f7\u7247\u6bb5", None)) + self.lineEdit_filter_labeled.setPlaceholderText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u7b5b\u9009\u5668", None)) + self.lineEdit_filter_tobelabeled.setPlaceholderText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u7b5b\u9009\u5668", None)) + # retranslateUi + diff --git a/ui/MainWindow/MainWindow_resp_quality_label.ui b/ui/MainWindow/MainWindow_resp_quality_label.ui new file mode 100644 index 0000000..a0213a7 --- /dev/null +++ b/ui/MainWindow/MainWindow_resp_quality_label.ui @@ -0,0 +1,756 @@ + + + MainWindow_resp_quality_label + + + + 0 + 0 + 1920 + 1080 + + + + 呼吸可用性及间期标注 + + + + + + + + 10 + + + + 绘图区 + + + + + + + + + + + + + 10 + + + + 呼吸可用性及间期标注 + + + + + + + + + 0 + 0 + + + + + 12 + + + + 导入设置 + + + + + + + + + + + + 0 + 0 + + + + + 12 + + + + 计算峰值并绘制 + + + + + + + + 0 + 0 + + + + + 12 + + + + 导入并算法定位峰值 + + + + + + + + 0 + 0 + + + + + 12 + + + + 保存峰值结果 + + + + + + + + 0 + 0 + + + + + 12 + + + + 导入并开始标注 + + + + + + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + + + + + + 人工标注阈值设置 + + + + + + + 0 + 0 + + + + + 12 + + + + threshold[1] + + + + + + + + 0 + 0 + + + + + 12 + + + + threshold[0] + + + + + + + + 12 + + + + 10000.000000000000000 + + + + + + + + 12 + + + + 10000.000000000000000 + + + + + + + + 0 + 0 + + + + + 12 + + + + 应用并计算 + + + + + + + + + + 寻峰参数设置 + + + + + + + 0 + 0 + + + + + 12 + + + + 最小间隔 + + + + + + + + 12 + + + + 10000.000000000000000 + + + + + + + + 0 + 0 + + + + + 12 + + + + 最小高度 + + + + + + + + 12 + + + + 10000.000000000000000 + + + + + + + + + + OrgBCG带通滤波频率设置 + + + + + + + 12 + + + + 10000.000000000000000 + + + + + + + + 12 + + + + 10000.000000000000000 + + + + + + + + 12 + + + + 下截止频率 + + + Qt::AlignmentFlag::AlignCenter + + + + + + + + 12 + + + + 上截止频率 + + + Qt::AlignmentFlag::AlignCenter + + + + + + + + 12 + + + + 预设 + + + + + + + + 12 + + + + 自定义 + + + + + + + + 12 + + + + ~ + + + + + + + + 0 + 0 + + + + + 12 + + + + 应用并计算 + + + + + + + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + + + + + + 标注操作 + + + + + + + 0 + 0 + + + + + 12 + + + + 当前片段标签 + + + Qt::AlignmentFlag::AlignCenter + + + + + + + false + + + + 12 + + + + + + + + false + + + + 12 + + + + + + + + + 0 + 0 + + + + + 12 + + + + 当前片段数 + + + Qt::AlignmentFlag::AlignCenter + + + + + + + + + + 0 + 0 + + + + + 12 + + + + 不可用(G) + + + + + + + + 0 + 0 + + + + + 12 + + + + 重置(H) + + + + + + + + 0 + 0 + + + + + 12 + + + + 可用(F) + + + + + + + + 0 + 0 + + + + + 12 + + + + 上一段(A) + + + + + + + + 0 + 0 + + + + + 12 + + + + 下一段(D) + + + + + + + + + + + + + + + 0 + 0 + + + + + 12 + + + + 导出标签 + + + + + + + + + 日志 + + + + + + + + + + + + + + + + 10 + + + + 呼吸可用性及间期标注 + + + + + + 频谱 + + + + + + + + + + + + 信号片段及质量标签 + + + + + + + 12 + + + + 质量未标注的信号片段 + + + + + + + + 12 + + + + 质量已标注的信号片段 + + + + + + + + 12 + + + + 筛选器 + + + + + + + + 12 + + + + 筛选器 + + + + + + + 2 + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + diff --git a/ui/setting/resp_quality_label_input_setting.py b/ui/setting/resp_quality_label_input_setting.py new file mode 100644 index 0000000..b8f4b5d --- /dev/null +++ b/ui/setting/resp_quality_label_input_setting.py @@ -0,0 +1,195 @@ +# -*- coding: utf-8 -*- + +################################################################################ +## Form generated from reading UI file 'resp_quality_label_input_setting.ui' +## +## Created by: Qt User Interface Compiler version 6.8.2 +## +## 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, QGridLayout, QGroupBox, QHBoxLayout, + QLabel, QMainWindow, QPlainTextEdit, QPushButton, + QSizePolicy, QSpinBox, QStatusBar, QVBoxLayout, + QWidget) + +class Ui_MainWindow_resp_quality_label_input_setting(object): + def setupUi(self, MainWindow_resp_quality_label_input_setting): + if not MainWindow_resp_quality_label_input_setting.objectName(): + MainWindow_resp_quality_label_input_setting.setObjectName(u"MainWindow_resp_quality_label_input_setting") + MainWindow_resp_quality_label_input_setting.resize(540, 720) + self.centralwidget = QWidget(MainWindow_resp_quality_label_input_setting) + self.centralwidget.setObjectName(u"centralwidget") + self.gridLayout = QGridLayout(self.centralwidget) + self.gridLayout.setObjectName(u"gridLayout") + self.pushButton_cancel = QPushButton(self.centralwidget) + self.pushButton_cancel.setObjectName(u"pushButton_cancel") + font = QFont() + font.setPointSize(12) + self.pushButton_cancel.setFont(font) + + self.gridLayout.addWidget(self.pushButton_cancel, 1, 3, 1, 1) + + self.groupBox = QGroupBox(self.centralwidget) + self.groupBox.setObjectName(u"groupBox") + font1 = QFont() + font1.setPointSize(10) + self.groupBox.setFont(font1) + self.verticalLayout_2 = QVBoxLayout(self.groupBox) + self.verticalLayout_2.setObjectName(u"verticalLayout_2") + self.groupBox_file_path_input_signal_OrgBCG = QGroupBox(self.groupBox) + self.groupBox_file_path_input_signal_OrgBCG.setObjectName(u"groupBox_file_path_input_signal_OrgBCG") + self.verticalLayout_5 = QVBoxLayout(self.groupBox_file_path_input_signal_OrgBCG) + self.verticalLayout_5.setObjectName(u"verticalLayout_5") + self.horizontalLayout_2 = QHBoxLayout() + self.horizontalLayout_2.setObjectName(u"horizontalLayout_2") + self.label_2 = QLabel(self.groupBox_file_path_input_signal_OrgBCG) + self.label_2.setObjectName(u"label_2") + self.label_2.setFont(font) + + self.horizontalLayout_2.addWidget(self.label_2) + + self.spinBox_input_freq_signal_OrgBCG = QSpinBox(self.groupBox_file_path_input_signal_OrgBCG) + self.spinBox_input_freq_signal_OrgBCG.setObjectName(u"spinBox_input_freq_signal_OrgBCG") + self.spinBox_input_freq_signal_OrgBCG.setFont(font) + self.spinBox_input_freq_signal_OrgBCG.setMinimum(1) + self.spinBox_input_freq_signal_OrgBCG.setMaximum(1000000) + + self.horizontalLayout_2.addWidget(self.spinBox_input_freq_signal_OrgBCG) + + + self.verticalLayout_5.addLayout(self.horizontalLayout_2) + + self.plainTextEdit_file_path_input_signal_OrgBCG = QPlainTextEdit(self.groupBox_file_path_input_signal_OrgBCG) + self.plainTextEdit_file_path_input_signal_OrgBCG.setObjectName(u"plainTextEdit_file_path_input_signal_OrgBCG") + + self.verticalLayout_5.addWidget(self.plainTextEdit_file_path_input_signal_OrgBCG) + + self.verticalLayout_5.setStretch(0, 1) + self.verticalLayout_5.setStretch(1, 2) + + self.verticalLayout_2.addWidget(self.groupBox_file_path_input_signal_OrgBCG) + + self.groupBox_file_path_input_Tho = QGroupBox(self.groupBox) + self.groupBox_file_path_input_Tho.setObjectName(u"groupBox_file_path_input_Tho") + self.verticalLayout_3 = QVBoxLayout(self.groupBox_file_path_input_Tho) + self.verticalLayout_3.setObjectName(u"verticalLayout_3") + self.horizontalLayout_3 = QHBoxLayout() + self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") + self.label_3 = QLabel(self.groupBox_file_path_input_Tho) + self.label_3.setObjectName(u"label_3") + self.label_3.setFont(font) + + self.horizontalLayout_3.addWidget(self.label_3) + + self.spinBox_input_freq_signal_Tho = QSpinBox(self.groupBox_file_path_input_Tho) + self.spinBox_input_freq_signal_Tho.setObjectName(u"spinBox_input_freq_signal_Tho") + self.spinBox_input_freq_signal_Tho.setFont(font) + self.spinBox_input_freq_signal_Tho.setMinimum(1) + self.spinBox_input_freq_signal_Tho.setMaximum(1000000) + + self.horizontalLayout_3.addWidget(self.spinBox_input_freq_signal_Tho) + + + 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.verticalLayout_3.addWidget(self.plainTextEdit_file_path_input_Tho) + + self.verticalLayout_3.setStretch(0, 1) + self.verticalLayout_3.setStretch(1, 2) + + self.verticalLayout_2.addWidget(self.groupBox_file_path_input_Tho) + + self.groupBox_file_path_input_artifact = QGroupBox(self.groupBox) + self.groupBox_file_path_input_artifact.setObjectName(u"groupBox_file_path_input_artifact") + self.verticalLayout_6 = QVBoxLayout(self.groupBox_file_path_input_artifact) + self.verticalLayout_6.setObjectName(u"verticalLayout_6") + self.plainTextEdit_file_path_input_artifact = QPlainTextEdit(self.groupBox_file_path_input_artifact) + self.plainTextEdit_file_path_input_artifact.setObjectName(u"plainTextEdit_file_path_input_artifact") + + self.verticalLayout_6.addWidget(self.plainTextEdit_file_path_input_artifact) + + self.verticalLayout_6.setStretch(0, 2) + + self.verticalLayout_2.addWidget(self.groupBox_file_path_input_artifact) + + self.groupBox_file_path_save_Resp_quality_label = QGroupBox(self.groupBox) + self.groupBox_file_path_save_Resp_quality_label.setObjectName(u"groupBox_file_path_save_Resp_quality_label") + self.verticalLayout_4 = QVBoxLayout(self.groupBox_file_path_save_Resp_quality_label) + self.verticalLayout_4.setObjectName(u"verticalLayout_4") + self.plainTextEdit_file_path_save_Resp_quality_label = QPlainTextEdit(self.groupBox_file_path_save_Resp_quality_label) + self.plainTextEdit_file_path_save_Resp_quality_label.setObjectName(u"plainTextEdit_file_path_save_Resp_quality_label") + + self.verticalLayout_4.addWidget(self.plainTextEdit_file_path_save_Resp_quality_label) + + + self.verticalLayout_2.addWidget(self.groupBox_file_path_save_Resp_quality_label) + + self.groupBox_file_path_save_Tho_peak = QGroupBox(self.groupBox) + self.groupBox_file_path_save_Tho_peak.setObjectName(u"groupBox_file_path_save_Tho_peak") + self.verticalLayout_7 = QVBoxLayout(self.groupBox_file_path_save_Tho_peak) + self.verticalLayout_7.setObjectName(u"verticalLayout_7") + self.plainTextEdit_file_path_save_Tho_peak = QPlainTextEdit(self.groupBox_file_path_save_Tho_peak) + self.plainTextEdit_file_path_save_Tho_peak.setObjectName(u"plainTextEdit_file_path_save_Tho_peak") + + self.verticalLayout_7.addWidget(self.plainTextEdit_file_path_save_Tho_peak) + + + self.verticalLayout_2.addWidget(self.groupBox_file_path_save_Tho_peak) + + self.verticalLayout_2.setStretch(0, 3) + self.verticalLayout_2.setStretch(1, 3) + self.verticalLayout_2.setStretch(2, 2) + self.verticalLayout_2.setStretch(3, 2) + self.verticalLayout_2.setStretch(4, 2) + + self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 4) + + self.pushButton_confirm = QPushButton(self.centralwidget) + self.pushButton_confirm.setObjectName(u"pushButton_confirm") + self.pushButton_confirm.setFont(font) + + self.gridLayout.addWidget(self.pushButton_confirm, 1, 2, 1, 1) + + MainWindow_resp_quality_label_input_setting.setCentralWidget(self.centralwidget) + self.statusbar = QStatusBar(MainWindow_resp_quality_label_input_setting) + self.statusbar.setObjectName(u"statusbar") + MainWindow_resp_quality_label_input_setting.setStatusBar(self.statusbar) + + self.retranslateUi(MainWindow_resp_quality_label_input_setting) + + QMetaObject.connectSlotsByName(MainWindow_resp_quality_label_input_setting) + # setupUi + + def retranslateUi(self, MainWindow_resp_quality_label_input_setting): + MainWindow_resp_quality_label_input_setting.setWindowTitle(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u5bfc\u5165\u8bbe\u7f6e", None)) + self.pushButton_cancel.setText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u53d6\u6d88", None)) + self.groupBox.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u6587\u4ef6\u8def\u5f84", None)) + self.groupBox_file_path_input_signal_OrgBCG.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u540c\u6b65\u540e\u7684OrgBCG\u8def\u5f84", None)) + self.label_2.setText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u91c7\u6837\u7387(Hz)\uff1a", None)) + self.plainTextEdit_file_path_input_signal_OrgBCG.setPlainText("") + 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.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)) + self.groupBox_file_path_save_Resp_quality_label.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u547c\u5438\u53ef\u7528\u6027\u6807\u7b7e\u4fdd\u5b58\u8def\u5f84", None)) + self.plainTextEdit_file_path_save_Resp_quality_label.setPlaceholderText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u4fdd\u5b58\u8def\u5f84", None)) + self.groupBox_file_path_save_Tho_peak.setTitle(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"Tho\u4fe1\u53f7\u547c\u5438\u95f4\u671f\u6807\u7b7e\u4fdd\u5b58\u8def\u5f84", None)) + self.plainTextEdit_file_path_save_Tho_peak.setPlaceholderText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u4fdd\u5b58\u8def\u5f84", None)) + self.pushButton_confirm.setText(QCoreApplication.translate("MainWindow_resp_quality_label_input_setting", u"\u786e\u5b9a", None)) + # retranslateUi + diff --git a/ui/setting/resp_quality_label_input_setting.ui b/ui/setting/resp_quality_label_input_setting.ui new file mode 100644 index 0000000..cb34972 --- /dev/null +++ b/ui/setting/resp_quality_label_input_setting.ui @@ -0,0 +1,213 @@ + + + MainWindow_resp_quality_label_input_setting + + + + 0 + 0 + 540 + 720 + + + + 导入设置 + + + + + + + + 12 + + + + 取消 + + + + + + + + 10 + + + + 文件路径 + + + + + + 同步后的OrgBCG路径 + + + + + + + + + 12 + + + + 采样率(Hz): + + + + + + + + 12 + + + + 1 + + + 1000000 + + + + + + + + + + + + 文件路径 + + + + + + + + + + 同步后的Effort Tho路径 + + + + + + + + + 12 + + + + 采样率(Hz): + + + + + + + + 12 + + + + 1 + + + 1000000 + + + + + + + + + + + + 文件路径 + + + + + + + + + + 体动Artifact_a路径 + + + + + + + + + 文件路径 + + + + + + + + + + 呼吸可用性标签保存路径 + + + + + + 保存路径 + + + + + + + + + + Tho信号呼吸间期标签保存路径 + + + + + + 保存路径 + + + + + + + + + + + + + + 12 + + + + 确定 + + + + + + + + + +