Graphics/AssociationItem.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3022
57179e4cdadd
child 3145
a9de05d4a22f
diff -r 10516539f238 -r 0a02c433f52d Graphics/AssociationItem.py
--- a/Graphics/AssociationItem.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Graphics/AssociationItem.py	Fri Nov 01 15:48:48 2013 +0100
@@ -69,7 +69,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)
@@ -130,7 +130,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