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

Method setDrawEnable

QPainter/Draw.py:42–44  ·  view source on GitHub ↗
(self, enable=False)

Source from the content-addressed store, hash-verified

40
41
42 def setDrawEnable(self, enable=False):
43 self.drawEnable = enable
44 self.update()
45
46 def mouseMoveEvent(self, ev):
47 if self.drawEnable:

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected