MCPcopy Create free account
hub / github.com/PyQt5/PyQt / __init__

Method __init__

QProgressBar/RoundProgressBar.py:28–35  ·  view source on GitHub ↗
(self, *args, color=None, clockwise=True, **kwargs)

Source from the content-addressed store, hash-verified

26 Delta = 36
27
28 def __init__(self, *args, color=None, clockwise=True, **kwargs):
29 super(CircleProgressBar, self).__init__(*args, **kwargs)
30 self.angle = 0
31 self.Clockwise = clockwise
32 if color:
33 self.Color = color
34 self._timer = QTimer(self, timeout=self.update)
35 self._timer.start(100)
36
37 def paintEvent(self, event):
38 super(CircleProgressBar, self).paintEvent(event)

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
startMethod · 0.45

Tested by

no test coverage detected