优化了一些问题

This commit is contained in:
Yorusora 2025-02-12 12:14:54 +08:00
parent f86fcad396
commit c2f35b9095

View File

@ -316,8 +316,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
if self.lineEdit_data1path.text() != "" or self.lineEdit_data2path.text() != "" or self.lineEdit_label1path.text() != "" or self.lineEdit_label2path.text() != "" or self.lineEdit_savepath.text() != "":
info("Inputing Data...")
self.textBrowser_update("提示:开始导入数据")
MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow",
"ECG_Label_Check - Data Path: " + self.lineEdit_rootpath.text()))
# 导入数据
self.label1 = np.array([])
self.label2 = np.array([])
@ -360,6 +359,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
self.pushButton_outputLabel.setEnabled(True)
self.figToolbar.action_Label_Single.setEnabled(True)
self.figToolbar.action_Label_Multiple.setEnabled(True)
MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow",
"ECG_Label_Check - Data Path: " + self.lineEdit_rootpath.text()))
for action in self.figToolbar._actions.values():
action.setEnabled(True)