def btnDIR_click(self): global ui directory = SelectDir("Open Main Directory", ui.txtDIR.text()) if len(directory): if os.path.isdir(directory) == False: ui.txtDIR.setText("") else: ui.txtDIR.setText(directory)
def btnWork_click(self): directory = SelectDir("Open Working Directory", ui.txtWork.text()) if len(directory): if os.path.isdir(directory): ui.txtWork.setText(directory)
def btnDSUMA_click(self): directory = SelectDir("Open SUMA Visualization Directory", ui.txtDSUMA.text()) if len(directory): if os.path.isdir(directory): ui.txtDSUMA.setText(directory)
def btnOutFile_click(self): directory = SelectDir("Open Output Directory", ui.txtOutDIR.text()) if len(directory): ui.txtOutDIR.setText(directory)