'Set the tool button style.'

def setToolButtonStyle(self, style):

    if (self.__toolButtonStyle != style):
        self.__toolButtonStyle = style
        for slot in self.__gridSlots:
            slot.button.setToolButtonStyle(style)
