MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / itemChange

Method itemChange

SLiCAP/schematic/border_item.py:41–44  ·  view source on GitHub ↗
(self, change, value)

Source from the content-addressed store, hash-verified

39 return stroker.createStroke(outline)
40
41 def itemChange(self, change, value):
42 if change == QGraphicsItem.ItemPositionChange:
43 return snap(value)
44 return super().itemChange(change, value)

Callers

nothing calls this directly

Calls 1

snapFunction · 0.85

Tested by

no test coverage detected