def load_ui_from_file(name: str):
ui_file = _get_ui_qfile(name)<EOL>try:<EOL><INDENT>base_type = uic.loadUiType(ui_file, from_imports=True)<EOL><DEDENT>finally:<EOL><INDENT>ui_file.close()<EOL><DEDENT>return base_type<EOL>
Returns a tuple from uic.loadUiType(), loading the ui file with the given name.
:param name:
:return: