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