MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / itemChange

Method itemChange

SLiCAP/schematic/model_item.py:162–165  ·  view source on GitHub ↗
(self, change, value)

Source from the content-addressed store, hash-verified

160 y += line_h
161
162 def itemChange(self, change, value):
163 if change == QGraphicsItem.ItemPositionChange:
164 return snap(value)
165 return super().itemChange(change, value)
166
167 # ── static helpers ────────────────────────────────────────────────────────
168

Callers

nothing calls this directly

Calls 1

snapFunction · 0.85

Tested by

no test coverage detected