This commit is contained in:
Irony 2018-09-05 23:52:29 +08:00
parent e2f6def24e
commit c63d825a09

View file

@ -46,7 +46,7 @@ class CircleProgressBar(QWidget):
painter.rotate(self.angle)
painter.save()
painter.setPen(Qt.NoPen)
color = self.Color
color = self.Color.toRgb()
for i in range(11):
color.setAlphaF(1.0 * i / 10)
painter.setBrush(color)