src/eric7/Graphics/UMLItem.py

branch
eric7
changeset 10428
a071d4065202
parent 10069
435cc5875135
child 10439
21c28b0f9e41
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
180 Public method called when an items state changes. 180 Public method called when an items state changes.
181 181
182 @param change the item's change 182 @param change the item's change
183 @type QGraphicsItem.GraphicsItemChange 183 @type QGraphicsItem.GraphicsItemChange
184 @param value the value of the change 184 @param value the value of the change
185 @type Any
185 @return adjusted values 186 @return adjusted values
187 @rtype Any
186 """ 188 """
187 if change == QGraphicsItem.GraphicsItemChange.ItemPositionChange: 189 if change == QGraphicsItem.GraphicsItemChange.ItemPositionChange:
188 # 1. remember to adjust associations 190 # 1. remember to adjust associations
189 self.shouldAdjustAssociations = True 191 self.shouldAdjustAssociations = True
190 192

eric ide

mercurial