Graphics/AssociationItem.py

changeset 3022
57179e4cdadd
parent 2992
dbdf27746da5
child 3058
0a02c433f52d
child 3160
209a07d7e401
diff -r 801289962f4e -r 57179e4cdadd Graphics/AssociationItem.py
--- a/Graphics/AssociationItem.py	Mon Oct 14 20:08:19 2013 +0200
+++ b/Graphics/AssociationItem.py	Tue Oct 15 18:29:32 2013 +0200
@@ -67,7 +67,7 @@
             arrowFilled = False
         
         E5ArrowItem.__init__(self, QPointF(0, 0), QPointF(100, 100),
-            arrowFilled, arrowType, parent)
+                             arrowFilled, arrowType, parent)
         
         self.setFlag(QGraphicsItem.ItemIsMovable, False)
         self.setFlag(QGraphicsItem.ItemIsSelectable, False)
@@ -128,7 +128,7 @@
                            rectB.y() + rectB.height())
         else:
             startP = QPointF(rectA.x() + rectA.width() / 2.0,
-                           rectA.y() + rectA.height())
+                             rectA.y() + rectA.height())
             endP = QPointF(rectB.x() + rectB.width() / 2.0, rectB.y())
         self.setPoints(startP.x(), startP.y(), endP.x(), endP.y())
     

eric ide

mercurial