def idw_set_output_folder(self): path = QFileDialog.getExistingDirectory(None, "Select Directory") self.ui.outputLineEdit.setText(path)