'Set the icon size for the node.'

def setIconSize(self, size):

    if (size != self.__iconSize):
        self.__iconSize = QSize(size)
        if self.__icon:
            self.__iconItem.setPixmap(self.__icon.pixmap(size))
            self.__iconLayoutItem.updateGeometry()
