Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] Set table view column full of clickable icons
mkolenda last edited by mkolenda
Brief description: http://i.imgur.com/ukAQNaI.png
I have model whose n-th column have interesting me number. Instead of displaying these numbers in tableView i want in place of text add clickable icon If number is set, or not if number isn't set. Fiddling with
Qt::DisplayRolein model doesn't seem to be what i want.
QItemDelegateanswer to my problems?
How to change mouse cursor to this fancy click_me-hand when mouse is over that icon?
I would say a Delegate would be the way to do it.
Have a look at
"Star Delegate Example"
For your fancy hand, you can use
Its also possible via the model