Expression painter:setbrush(brush) sets the current brush. Argument brush must be a Qt variant of type qt.QBrush.