Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PyQt5/PyQt
/ setBrush
Method
setBrush
QPainter/StockDialog.py:246–248 ·
view source on GitHub ↗
(self, b)
Source
from the content-addressed store, hash-verified
244
self.update()
245
246
def
setBrush(self, b):
247
self.brush = b
248
self.update()
249
250
def
paintEvent(self, QPaintEvent):
251
p = QPainter(self)
Callers
15
initMap
Method · 0.80
animate
Method · 0.80
paintEvent
Method · 0.80
slotBrush
Method · 0.80
paintEvent
Method · 0.80
paintEvent
Method · 0.80
__init__
Method · 0.80
paintEvent
Method · 0.80
paintEvent
Method · 0.80
drawCircle
Method · 0.80
paintEvent
Method · 0.80
paintEvent
Method · 0.80
Calls
1
update
Method · 0.45
Tested by
no test coverage detected