def load_signal(self): self.all_signals, self.filter, self.load_check = Features.load_signal(self) if (self.load_check): 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_signal(self): self.all_signals, self.filter, self.load_check = Features.load_signal( self) self.progressBar.setValue(0) if (self.load_check): if (len(self.all_signals) > 1): #Çoklu Veri Girişi self.label_1D_DataName.setText("Multiple Signals") #Veri Adı else: name = self.all_signals[0].split(sep='/') self.label_1D_DataName.setText(name[-1]) #Veri Adını oluşturma else: Features.message("You have to load at least 1 signal", QMessageBox.Warning) self.label_1D_DataName.setText("No signal selected")