1 Attachment(s)
Drawing border of item in the QwtPlotLegendItem
Hello,
I am searching how to draw the border of the little square representing a curve or histogram int the QwtPlotLegendItem.
In the picture below, the histogram with blue pen but with no brush is not represented in the legend ("intensité"). I want a square with blue border ...
Any idea ?
Attachment 13052
Re: Drawing border of item in the QwtPlotLegendItem
You can overload QwtPlotItem::legendIcon() for your curves/histograms.
Uwe
Re: Drawing border of item in the QwtPlotLegendItem
Thanks Uwe, perfect !
I really appreciate your qwt library and your reactivity !