''

def paintEvent(self, event):

    self.build_paths()
    painter = QPainter(self)
    painter.setRenderHint(QPainter.Antialiasing)
    painter.fillPath(self.round_rect_path, self.color_back)
    painter.fillPath(self.top_rect_path, self.color_top)
    painter.strokePath(self.round_rect_path, QPen(Qt.gray, 1))
