E5Graphics/E5ArrowItem.py

changeset 5587
ea526b78ee6c
parent 5389
9b1c800daff3
child 5653
c023821bb25f
--- a/E5Graphics/E5ArrowItem.py	Tue Mar 07 18:46:09 2017 +0100
+++ b/E5Graphics/E5ArrowItem.py	Tue Mar 07 18:53:18 2017 +0100
@@ -27,14 +27,14 @@
     Class implementing an arrow graphics item subclass.
     """
     def __init__(self, origin=QPointF(), end=QPointF(),
-                 filled=False, type=NormalArrow, parent=None):
+                 filled=False, arrowType=NormalArrow, parent=None):
         """
         Constructor
         
         @param origin origin of the arrow (QPointF)
         @param end end point of the arrow (QPointF)
         @param filled flag indicating a filled arrow head (boolean)
-        @param type arrow type (NormalArrow, WideArrow)
+        @param arrowType arrow type (NormalArrow, WideArrow)
         @keyparam parent reference to the parent object (QGraphicsItem)
         """
         super(E5ArrowItem, self).__init__(parent)
@@ -42,7 +42,7 @@
         self._origin = origin
         self._end = end
         self._filled = filled
-        self._type = type
+        self._type = arrowType
         
         self._halfLength = 13.0
         

eric ide

mercurial