Merge branch 'master' into cxh_dev

This commit is contained in:
marques
2025-06-04 16:32:45 +08:00
17 changed files with 288 additions and 83 deletions

View File

@ -143,6 +143,17 @@ class Ui_MainWindow_SA_label(object):
self.verticalLayout_2.addItem(self.verticalSpacer_3)
self.pushButton_save = QPushButton(self.groupBox_left)
self.pushButton_save.setObjectName(u"pushButton_save")
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Preferred)
sizePolicy1.setHorizontalStretch(0)
sizePolicy1.setVerticalStretch(0)
sizePolicy1.setHeightForWidth(self.pushButton_save.sizePolicy().hasHeightForWidth())
self.pushButton_save.setSizePolicy(sizePolicy1)
self.pushButton_save.setFont(font1)
self.verticalLayout_2.addWidget(self.pushButton_save)
self.groupBox_4 = QGroupBox(self.groupBox_left)
self.groupBox_4.setObjectName(u"groupBox_4")
self.verticalLayout_6 = QVBoxLayout(self.groupBox_4)
@ -159,7 +170,8 @@ class Ui_MainWindow_SA_label(object):
self.verticalLayout_2.setStretch(1, 1)
self.verticalLayout_2.setStretch(2, 15)
self.verticalLayout_2.setStretch(3, 1)
self.verticalLayout_2.setStretch(4, 5)
self.verticalLayout_2.setStretch(4, 2)
self.verticalLayout_2.setStretch(5, 5)
self.gridLayout.addWidget(self.groupBox_left, 0, 0, 1, 1)
@ -368,9 +380,6 @@ class Ui_MainWindow_SA_label(object):
self.gridLayout_5.setObjectName(u"gridLayout_5")
self.pushButton_quick_remark_input_durationNoEnough = QPushButton(self.groupBox_label_operation)
self.pushButton_quick_remark_input_durationNoEnough.setObjectName(u"pushButton_quick_remark_input_durationNoEnough")
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Preferred)
sizePolicy1.setHorizontalStretch(0)
sizePolicy1.setVerticalStretch(0)
sizePolicy1.setHeightForWidth(self.pushButton_quick_remark_input_durationNoEnough.sizePolicy().hasHeightForWidth())
self.pushButton_quick_remark_input_durationNoEnough.setSizePolicy(sizePolicy1)
self.pushButton_quick_remark_input_durationNoEnough.setFont(font1)
@ -557,6 +566,7 @@ class Ui_MainWindow_SA_label(object):
self.lineEdit_filter_label_add.setPlaceholderText(QCoreApplication.translate("MainWindow_SA_label", u"\u7b5b\u9009\u5668", None))
self.lineEdit_filter_label.setPlaceholderText(QCoreApplication.translate("MainWindow_SA_label", u"\u7b5b\u9009\u5668", None))
self.label_2.setText(QCoreApplication.translate("MainWindow_SA_label", u"\u65b0\u589e\u7684\u6807\u7b7e", None))
self.pushButton_save.setText(QCoreApplication.translate("MainWindow_SA_label", u"\u624b\u52a8\u4fdd\u5b58", None))
self.groupBox_4.setTitle(QCoreApplication.translate("MainWindow_SA_label", u"\u65e5\u5fd7", None))
self.groupBox_right.setTitle(QCoreApplication.translate("MainWindow_SA_label", u"\u7761\u7720\u547c\u5438\u6682\u505c\u4e8b\u4ef6\u6807\u6ce8", None))
self.groupBox_examineBySecond.setTitle(QCoreApplication.translate("MainWindow_SA_label", u"\u9010\u5e27\u68c0\u67e5", None))

View File

@ -42,7 +42,7 @@
<property name="title">
<string>睡眠呼吸暂停事件标注</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="2,1,15,1,5">
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="2,1,15,1,2,5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
@ -208,6 +208,24 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_save">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>手动保存</string>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">

View File

@ -50,6 +50,7 @@ class Ui_Signal_Label(object):
self.plainTextEdit_root_path = QPlainTextEdit(self.centralwidget)
self.plainTextEdit_root_path.setObjectName(u"plainTextEdit_root_path")
self.plainTextEdit_root_path.setEnabled(False)
self.verticalLayout_3.addWidget(self.plainTextEdit_root_path)

View File

@ -40,7 +40,11 @@
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="plainTextEdit_root_path"/>
<widget class="QPlainTextEdit" name="plainTextEdit_root_path">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>