Alt attribute in html tags for QtableWidget
I have a QtableWidget and i filled up from my row and columns,
Now, i want to appear content of a cell, when i keep my mouse on the given cell, such as alt attribue in html tags.
would you please guide me to write the ralated connect function ?
did you try QTableWidgetItem::setData():
tableItem->setData ( Qt::ToolTipRole, QString("ToolTip") );
Thank you , i wrote the following code:
But i don't know how to connect which signal.
with which signal?!
QTableWidget should display the tool tip automatically IIRC
thank you, you solved my problem.