def onClickOtherModel(self): '''Method that calls the Model Choice Window, for manual choice of the model''' filha = ModelSetup(self) result = filha.exec_() if result: # if the Model Selection Dialog wasn't cancelled, plot the mode self.plot() else: # Model Selection Dialog was cancelled, do nothing return
def runModelSelectionDialog(self): '''Method that call the Window "modelSetup" for the user can choose the model ''' filha = ModelSetup(self) return filha.exec_()