New graphic item for control points and replaced point2f by QPointF