def load_folder(self): self.all_signals, self.load_check = Features.load_folder(self) if (self.load_check): Features.message(str(len(self.all_signals)) + " signals ready to be processed !", QMessageBox.Information) if (len(self.all_signals) > 1): # Multiple file self.label_1DCont_DataName.setText("Multiple Signals") # Data name else: name = self.all_signals[0].split(sep='/') self.label_1DCont_DataName.setText(name[-1]) # Setting data name else: Features.message("You have to load at least 1 signal !", QMessageBox.Warning) self.label_1DCont_DataName.setText("No signal selected")
def load_folder(self): #Dosya Yükleme self.all_signals, self.load_check = Features.load_folder(self) if (self.load_check): Features.message( str(len(self.all_signals)) + " signals ready to be processed !", QMessageBox.Information) if (len(self.all_signals) > 1): self.label_1D_DataName.setText("Multiple Signals") else: name = self.all_signals[0].split(sep='/') self.label_1D_DataName.setText(name[-1]) else: Features.message("You have to load at least 1 signal", QMessageBox.Warning)