Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SLiCAP/SLiCAP_python
/ itemChange
Method
itemChange
SLiCAP/schematic/image_item.py:143–146 ·
view source on GitHub ↗
(self, change, value)
Source
from the content-addressed store, hash-verified
141
painter.restore()
142
143
def
itemChange(self, change, value):
144
if
change == QGraphicsItem.ItemPositionChange:
145
return
snap(value)
146
return
super().itemChange(change, value)
Callers
nothing calls this directly
Calls
1
snap
Function · 0.85
Tested by
no test coverage detected