Hi,

I'm working on migrating a project which based on QWT 5.1 to QWT 6.2.
I found the QwtLegendItem was removed in QWT6.2. I used setSymbol() and setText() to get the legend symbol/icon and legend text from my QwtLegend.

I try to use QwtLegendLabel to get text, but there is not setSymbol() in QwtLegendLabel. Hence, I can't add any symbol/icon into my QwtLegendLabel object.

So I plan to create a new Legend and change the its text directly.
But how to change the text contents in a QwtLegend?

Or how can I get the legend symbol/icon from a QwtLegend?

Thanks a lot!