color
This commit is contained in:
parent
e2f6def24e
commit
c63d825a09
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue