1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
class TRANUSInterfaceVariationDialog(QtGui.QDialog, FORM_CLASS):
def __init__(self,project,parent=None):
"""Constructor."""
super(TRANUSInterfaceVariationDialog, self).__init__(parent)
self.setupUi(self)
self.launch_btn.clicked.connect(self.launch_TRANUS_variation)
def launch_TRANUS_variation(self):
dialog = launch_variation_dialog.LaunchVariationDialog(self.folder,self.base_scenario.code,self.tranus_binaries,parent=self)
#self.close()
self.hide()
dialog.show()
result = dialog.exec_() |
Partager