def setPalette(self, palette):
        """
        Sets the palette for this button to the inputed palette.  This will
        update the drop shadow to the palette's Shadow color property if
        the shadowed mode is on.
        
        :param      palette | <QtGui.QPalette>
        """
        super(XToolButton, self).setPalette(palette)
        self.updateUi()