Is it possible to set tooltip to a specific table item
-
wrote on 25 May 2017, 06:24 last edited by
i have a table with 4 cells. i want to set a tooltip to the bottom right corner
is it possible to set a tooltip to a specific table item ?
-
Are you using TableView or TableWdiget for the display ?
-
wrote on 25 May 2017, 08:11 last edited by
table->model()->setData(table->model()->index(1,1),tr("I'm a tooltip"),Qt::ToolTipRole);
-
wrote on 25 May 2017, 10:36 last edited by
I am using customized class.
I already got the solution. I have a method that takes tooltip, i was unaware of it.thank you @dheerendra @VRonin
-
wrote on 25 May 2017, 10:58 last edited by
@Pou-Lin-Chang
can u share the solution, alternative ones, which would be useful.Thanks,
-
@Pou-Lin-Chang
can u share the solution, alternative ones, which would be useful.Thanks,
wrote on 29 May 2017, 13:42 last edited by Pou Lin Chang@Pradeep-Kumar
Actually im using a custom class in which i have added a method that accepts a tooltip and a text string. Through this method i was able to achieve my desired output.
1/6