Pimpl CurveWidget + moved calculations of tangents gui points from the drawing function