def cfm_get_out_path(self): fl = QFileDialog.getExistingDirectory(self, "Select Output Folder") self.ui.outLineEdit.setText(fl)