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