--- a/E5Graphics/E5ArrowItem.py Wed Mar 22 18:56:25 2017 +0100 +++ b/E5Graphics/E5ArrowItem.py Wed Mar 22 19:59:45 2017 +0100 @@ -26,7 +26,7 @@ """ Class implementing an arrow graphics item subclass. """ - def __init__(self, origin=QPointF(), end=QPointF(), + def __init__(self, origin=None, end=None, filled=False, arrowType=NormalArrow, parent=None): """ Constructor @@ -39,8 +39,8 @@ """ super(E5ArrowItem, self).__init__(parent) - self._origin = origin - self._end = end + self._origin = QPointF() if origin is None else QPointF(origin) + self._end = QPointF() if end is None else QPointF(end) self._filled = filled self._type = arrowType