You have to do something like this:
Qt Code:
{ dynamic_cast<QwtLegendItem*>(legend->find( this )); if ( lgdItem ) lgdItem->setIdentifierSize( ... ); }To copy to clipboard, switch view to plain text mode
I know this is not very comfortable ( worse than in Qwt 5.x ), but it needed to be changed for the new type of plot items, that also need to be displayed on the legend and I didn't want to lose too much time on this less important topic.
Hope I will have something better in future Qwt versions,
Uwe




Reply With Quote

Bookmarks