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

Method __init__

QProgressBar/RoundProgressBar.py:93–101  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

91class Window(QWidget):
92
93 def __init__(self, *args, **kwargs):
94 super(Window, self).__init__(*args, **kwargs)
95 layout = QHBoxLayout(self)
96 layout.addWidget(CircleProgressBar(self))
97 layout.addWidget(CircleProgressBar(
98 self, color=QColor(255, 0, 0), clockwise=False))
99 layout.addWidget(CircleProgressBar(self, styleSheet="""
100 qproperty-color: rgb(0, 255, 0);
101 """))
102
103
104if __name__ == '__main__':

Callers 1

__init__Method · 0.45

Calls 2

CircleProgressBarClass · 0.85
addWidgetMethod · 0.80

Tested by

no test coverage detected