I want to replace row number in QTableView with '>' char. How can I do this?
I want to replace row number in QTableView with '>' char. How can I do this?
You need to set the values for the horizontal headers in an implementation of headerData() or setHeaderData() in your model.
See QAbstractItemModel.
Karl
setHeaderData has roles and I don't see role which will make ">" in vertical header. Can you paste a code? Maybe I'm doing something wrong.
See if this qtcentre post helps: http://www.qtcentre.org/threads/4382...-in-QTableView
Karl
Bookmarks