--- a/eric7/E5Graphics/E5ArrowItem.py Sun May 16 11:43:59 2021 +0200 +++ b/eric7/E5Graphics/E5ArrowItem.py Sun May 16 20:07:24 2021 +0200 @@ -10,9 +10,9 @@ import enum import math -from PyQt5.QtCore import QPointF, QRectF, QSizeF, QLineF, Qt -from PyQt5.QtGui import QPen, QPolygonF, QColor -from PyQt5.QtWidgets import QAbstractGraphicsShapeItem, QGraphicsItem, QStyle +from PyQt6.QtCore import QPointF, QRectF, QSizeF, QLineF, Qt +from PyQt6.QtGui import QPen, QPolygonF, QColor +from PyQt6.QtWidgets import QAbstractGraphicsShapeItem, QGraphicsItem, QStyle ArrowheadAngleFactor = 0.26179938779914941 # That is: 0.5 * math.atan(math.sqrt(3.0) / 3.0)