Sets the background brush for this node scene.  This will
        replace the default method as a convenience wrapper around the
        XNodePalette associated with this scene.
        
        :param     color | <str> || <QColor> || <QBrush>

def setBackgroundBrush(self, brush):
        """
        Sets the background brush for this node scene.  This will
        replace the default method as a convenience wrapper around the
        XNodePalette associated with this scene.
        
        :param     color | <str> || <QColor> || <QBrush>
        """
        if type(brush) == str:
            brush = QBrush(QColor(brush))
        elif type(brush) == QColor:
            brush = QBrush(brush)
        elif type(brush) != QBrush:
            return
        
        # update the palette color
        palette = self.palette()
        palette.setColor(palette.GridBackground, brush.color())
        
        super(XNodeScene, self).setBackgroundBrush(brush)