def METHOD_NAME(self, parent_widget):
    label_widget = QtWidgets.QLabel(parent_widget)
    label_widget.setText(
        "<span style='font-size:18pt;'>Something went wrong</span>"
    )
    return label_widget