'Set the items `brush` (:class:`QBrush`)'

def setBrush(self, brush):

    if (not isinstance(brush, QBrush)):
        brush = QBrush(brush)
    if (self.__brush != brush):
        self.__brush = QBrush(brush)
        self.update()
