Can i Right doubleClick on QwtLegend and let it in mode checkable , i need them both.
Can i Right doubleClick on QwtLegend and let it in mode checkable , i need them both.
Hey buddy, There is not right double click action as such. void QwtLegend::clicked (const QVariant & itemInfo, int index ) will accept only left click or either create one class deriving from the QwtLegend class and write your own click method into it.
Last edited by sonulohani; 11th February 2014 at 11:56.
Heavy Metal Rules. For those about to rock, we salute you.
HIT THANKS IF I HELPED.
hassinoss (11th February 2014)
More detailed: you have to overload QwtLegend::createWidget(). Have a look at the default implementation in qwt_legend.cpp to get an idea what to do.
Uwe
hassinoss (12th February 2014)
Bookmarks