code: def setDisabledPenColor(self, color):
          
          color = QColor(color)
          if self._palette is None:
              self._palette = XNodePalette(self._scenePalette)
          
          self._palette.setColor(self._palette.Disabled,
                                 self._palette.NodeForeground,
                                 color)
          self.setDirty()
docs: Sets the pen color to be used when drawing this node as disabled.
          
          :param      color | <QColor>