'Set the color of the shadow.'

def setColor(self, color):

    if (not isinstance(color, QColor)):
        color = QColor(color)
    if (self.__color != color):
        self.__color = QColor(color)
        self.__updatePixmap()
