How to draw only the line/curve in the custom QGraphicsPathItem class?
i customize a child class of QGraphicsPathItem, and add a QPaintPath in its c'tor, i only want the line/curve, but it shows like below...how should i set for it to get only the curve? thank you
Change the brush of the item using setBrush(). Either use a brush with color set to transparent or set the style of the brush to Qt::NoBrush
thanks very much