为<呼吸质量标注>模块增加自动下一段功能及相关UI调整
This commit is contained in:
@ -1032,6 +1032,9 @@ class MainWindow_resp_quality_label(QMainWindow):
|
||||
return
|
||||
else:
|
||||
PublicFunc.text_output(self.ui, result.info, Constants.TIPS_TYPE_INFO)
|
||||
if self.sender == self.ui.pushButton_valid or self.sender == self.ui.pushButton_invalid:
|
||||
if self.ui.checkBox_auto_next:
|
||||
self.ui.pushButton_next.click()
|
||||
|
||||
def __slot_lineEdit_filter__(self, filter_text):
|
||||
sender = self.sender()
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'MainWindow_resp_quality_label.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.8.2
|
||||
## Created by: Qt User Interface Compiler version 6.7.0
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
@ -330,29 +330,6 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
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())
|
||||
@ -360,7 +337,30 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
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_7.addWidget(self.label_8, 1, 0, 1, 1)
|
||||
|
||||
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, 2, 0, 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, 1, 1, 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, 2, 1, 1, 1)
|
||||
|
||||
self.gridLayout_8 = QGridLayout()
|
||||
self.gridLayout_8.setObjectName(u"gridLayout_8")
|
||||
@ -411,7 +411,13 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
self.gridLayout_8.addWidget(self.pushButton_save, 1, 0, 1, 1)
|
||||
|
||||
|
||||
self.gridLayout_7.addLayout(self.gridLayout_8, 2, 0, 1, 2)
|
||||
self.gridLayout_7.addLayout(self.gridLayout_8, 3, 0, 1, 2)
|
||||
|
||||
self.checkBox_auto_next = QCheckBox(self.groupBox_label_operation)
|
||||
self.checkBox_auto_next.setObjectName(u"checkBox_auto_next")
|
||||
self.checkBox_auto_next.setFont(font1)
|
||||
|
||||
self.gridLayout_7.addWidget(self.checkBox_auto_next, 0, 0, 1, 1)
|
||||
|
||||
|
||||
self.verticalLayout_2.addWidget(self.groupBox_label_operation)
|
||||
@ -551,14 +557,15 @@ class Ui_MainWindow_resp_quality_label(object):
|
||||
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.label_10.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u5f53\u524d\u7247\u6bb5\u6807\u7b7e", 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"\u624b\u52a8\u4fdd\u5b58", None))
|
||||
self.checkBox_auto_next.setText(QCoreApplication.translate("MainWindow_resp_quality_label", u"\u81ea\u52a8\u4e0b\u4e00\u6bb5", 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))
|
||||
|
||||
@ -568,6 +568,27 @@
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_7">
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<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="2" column="0">
|
||||
<widget class="QLabel" name="label_10">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
@ -589,18 +610,6 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit_current_part_label">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit_current_part_num">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
@ -612,28 +621,19 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit_current_part_label">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<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="2" column="0" colspan="2">
|
||||
<item row="3" column="0" colspan="2">
|
||||
<layout class="QGridLayout" name="gridLayout_8">
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="pushButton_invalid">
|
||||
@ -739,6 +739,18 @@
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QCheckBox" name="checkBox_auto_next">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>自动下一段</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user