'Override Qt method'

def paintEvent(self, event):

    painter = QPainter(self)
    painter.setRenderHint(QPainter.Antialiasing)
    painter.fillPath(self.path_current, QBrush(self.color))
    painter.strokePath(self.path_decoration, QPen(self.color_decoration, self.stroke_decoration))
