Hi,
I have added ToolTip support within WPieChart::createLegendItemWidget()
method, if the underlying model has an tooltip for an item. See the
attached patch.
Regards,
Stefan
*** WPieChart.C 2012-07-11 10:10:03.000000000 +0200
--- WPieChart.C.new 2012-07-11 10:09:52.000000000 +0200
***************
*** 170,175 ****
--- 170,176 ----
if (!label.empty()) {
WText* l = new WText(label);
l->setPadding(5, Left);
+ l->setToolTip(asString(model()->data(index, dataColumn_, ToolTipRole)));
legendItem->addWidget(l);
}
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest