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

Method itemChange

SLiCAP/schematic/shape_item.py:91–94  ·  view source on GitHub ↗
(self, change, value)

Source from the content-addressed store, hash-verified

89 return path
90
91 def itemChange(self, change, value):
92 if change == QGraphicsItem.ItemPositionChange:
93 return snap(value)
94 return super().itemChange(change, value)
95
96 # ── paint ─────────────────────────────────────────────────────────────────
97

Callers

nothing calls this directly

Calls 1

snapFunction · 0.85

Tested by

no test coverage detected