def _get_ui_qfile(name: str):
file_path = RESOURCE_PATH_PREFIX + "<STR_LIT>".format(ui_file_name=name)<EOL>file = QFile(file_path)<EOL>if not file.exists():<EOL><INDENT>raise FileNotFoundError("<STR_LIT>" + file_path)<EOL><DEDENT>file.open(QFile.ReadOnly)<EOL>return file<EOL>
Returns an opened, read-only QFile for the given QtDesigner UI file name. Expects a plain name like "centralwidget".
The file ending and resource path is added automatically.
Raises FileNotFoundError, if the given ui file does not exist.
:param name:
:return: