'Set the button size.'

def setButtonSize(self, size):

    if (self.__buttonSize != size):
        self.__buttonSize = size
        for slot in self.__gridSlots:
            slot.button.setFixedSize(size)
