@staticmethod
def _set_widget_background_color(widget, color):
    """
        Changes the base color of a widget (background).
        :param widget: widget to modify
        :param color: the color to apply
        """
    pal = widget.palette()
    pal.setColor(pal.Base, color)
    widget.setPalette(pal)
