Hi,
i use a QwtPlot with a QwtPlotShapeItem...
Code:
QPainterPath path; path.addRect(....); plotShapeItem.setShape(path); plotShapeItem.setLegendMode(QwtPlotShapeItem::LegendShape); plotShapeItem.attach(&plot);
how can i make the legend for plotShapeItem enabled? I dont know how to config the QwtLegend in this case... See here:
Attachment 11306
I would need the QwtLegendLabel and call setchecked(true)...ideas?
Thanks,
S