Graphics/AssociationItem.py

changeset 51
7d80b0f20ca6
parent 13
1af94a91f439
child 96
9624a110667d
--- a/Graphics/AssociationItem.py	Tue Jan 12 17:55:24 2010 +0000
+++ b/Graphics/AssociationItem.py	Tue Jan 12 18:04:41 2010 +0000
@@ -10,7 +10,7 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from E4Graphics.E4ArrowItem import E4ArrowItem, NormalArrow, WideArrow
+from E5Graphics.E5ArrowItem import E5ArrowItem, NormalArrow, WideArrow
 
 Normal = 0
 Generalisation = 1
@@ -27,7 +27,7 @@
 SouthWest = 8
 Center = 9
 
-class AssociationItem(E4ArrowItem):
+class AssociationItem(E5ArrowItem):
     """
     Class implementing a graphics item for an association between two items.
     
@@ -58,7 +58,7 @@
             arrowType = WideArrow
             arrowFilled = False
         
-        E4ArrowItem.__init__(self, QPointF(0, 0), QPointF(100, 100), 
+        E5ArrowItem.__init__(self, QPointF(0, 0), QPointF(100, 100), 
             arrowFilled, arrowType, parent)
         
         self.setFlag(QGraphicsItem.ItemIsMovable, False)
@@ -470,4 +470,4 @@
         Public method to unassociate from the widgets.
         """
         self.itemA.removeAssociation(self)
-        self.itemB.removeAssociation(self)
+        self.itemB.removeAssociation(self)
\ No newline at end of file

eric ide

mercurial