Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to mark text available in a particular cell as underlined in QTableView?
mady last edited by
I wanted to mark text available in a cell of a QTableView as underlined but I don't know how to do that. I tried setFont but that is for whole table but my requirement is to mark only for some particular cells not whole table.
I googled but did not get much on it.
Any hint or suggestion will help a lot.
giesbert last edited by
You can set some render hints from the model:
"QAbstractItemModel:data":http://developer.qt.nokia.com/doc/qt-4.8/qabstractitemmodel.html#data and use the font role