def METHOD_NAME(name: str):
    """Returns a QtWidget based on its objectName."""
    for qWidget in qApp.topLevelWidgets():
        if qWidget.objectName() == name:
            return qWidget
    return None