MCPcopy
hub / github.com/PyQt5/PyQt / setColor

Method setColor

QProgressBar/ColourfulProgress.py:41–47  ·  view source on GitHub ↗

:type color: QColor :param color: 颜色

(self, color)

Source from the content-addressed store, hash-verified

39 self.setRadius(self._radius)
40
41 def setColor(self, color):
42 """
43 :type color: QColor
44 :param color: 颜色
45 """
46 self._color = QColor(color) if isinstance(
47 color, (QColor, Qt.GlobalColor)) else QColor(43, 194, 83)
48
49 def setFps(self, fps):
50 """

Callers 14

__init__Method · 0.95
__init__Method · 0.80
enterEventMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
setWidgetMethod · 0.80
_drawArcMethod · 0.80
__init__Method · 0.80
handleMarkerClickedMethod · 0.80
getSeriesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected