def _create_page_id_files(self): """Creates a page for selecting student id files.""" page = QWizardPage(self) page.setTitle(_('Student id files')) page.setSubTitle(_('You can select zero, one or more files with the ' 'list of student ids. Go to the user manual ' 'if you don\'t know the format of the files.')) self.files_w = widgets.MultipleFilesWidget( _('Select student list files'), file_name_filter=FileNameFilters.student_list, check_file_function=self._check_student_ids_file) layout = QVBoxLayout() page.setLayout(layout) layout.addWidget(self.files_w) return page