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 |