'Set the icon (and this item\'s) size (:class:`QSize`).'

def setIconSize(self, size):

    if (self.__iconSize != size):
        self.prepareGeometryChange()
        self.__iconSize = QSize(size)
        self.update()
