code: def setPixmap(self, pixmap):
          
          if pixmap is not None:
              self._style = XNode.NodeStyle.Pixmap
              self._pixmap = QPixmap(pixmap)
          else:
              self._style = XNode.NodeStyle.Rectangle
              self._pixmap = pixmap
          
          self.update()
docs: Sets the pixmap associated with this node.
          
          :param     pixmap | <str> || <QtGui.QPixmap> || None