[Uml-devel] [umbrello] [Bug 107174] Employ the use of Splines

Ralf Habacker ralf.habacker at freenet.de
Mon Jun 24 22:39:29 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=107174

--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
> fixed by converting the current QCanvasLine's to QPainterPath's. 
QCanvasLine has been already migrated to QGraphicsLineItem. 
The resulting work to do is
1. convert AssociationLine::m_lineList a QVector<QPointF>
2. add a ::paint() method which paints a polyline.  
3. add a line type attribute (polyline, spline) setable by AssociationWidget
property dialog. 
4. use QPainterPath to display splines when line type = spline is used 

The QVector<QPointF> implementation in umbrello-soc branch  may be used as as
base.

-- 
You are receiving this mail because:
You are the assignee for the bug.




More information about the umbrello-devel mailing list