Tool Tip on mouse move in QTreeWidget?
Hi All,
I m using Qt 4.1.5 on my MAC.
I have a QTreeWidget which is on the Left side of my QMainWindow.
I have some Item on this treeWidget and I want when user move mouse on a perticular Item it show the Text of that TreeWidgetItem in the tooltip and so..on.
If any body knows how I can do this then plz help me out.
Thanks.
Re: Tool Tip on mouse move in QTreeWidget?
Simple, you should check the QTreeWidgetItem docs ;-)
This should work :
Code:
item->setToolTip(column_index, item->text(column_index));
Guilugi.