74 elif assocType == AssociationType.GENERALISATION: |
74 elif assocType == AssociationType.GENERALISATION: |
75 arrowType = EricArrowType.WIDE |
75 arrowType = EricArrowType.WIDE |
76 arrowFilled = False |
76 arrowFilled = False |
77 |
77 |
78 EricArrowItem.__init__(self, QPointF(0, 0), QPointF(100, 100), |
78 EricArrowItem.__init__(self, QPointF(0, 0), QPointF(100, 100), |
79 arrowFilled, arrowType, colors, parent) |
79 arrowFilled, arrowType, colors, parent) |
80 |
80 |
81 self.setFlag(QGraphicsItem.GraphicsItemFlag.ItemIsMovable, False) |
81 self.setFlag(QGraphicsItem.GraphicsItemFlag.ItemIsMovable, False) |
82 self.setFlag(QGraphicsItem.GraphicsItemFlag.ItemIsSelectable, False) |
82 self.setFlag(QGraphicsItem.GraphicsItemFlag.ItemIsSelectable, False) |
83 |
83 |
84 if topToBottom: |
84 if topToBottom: |