[Qt-interest] Display ToolTip when cibling a TreeView Cell
Sean Harmer
sean.harmer at maps-technology.com
Tue Nov 2 09:46:42 CET 2010
On Tuesday 02 November 2010 08:41:23 HEDFI Mourad wrote:
> Hello everyone,
> I've a TreeView that looks like a tableView. I want that when I point the
> mouse cursor on a cell I display a ToolTip about the cibled Cell.
> Can anyone help me to do this and tell me how I must to do?
In the data() method of your model class be sure to return some valid data for
the Qt::ToolTipRole of the indices for which you wish to show tooltips.
HTH,
Sean
More information about the Qt-interest-old
mailing list