Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to set stylesheet for a single item in the Qlistview?
Stoned Jesus last edited by
I have a QListView containing QStandardItems . How to set stylesheet for a single item in the Qlistview based on the QModelIndex acquired?
francescmm last edited by
For a specific item you shoul use "QStyledItemDelegate":http://qt-project.org/doc/qt-4.8/QStyledItemDelegate.html or overwrite the QListView::data() and filter inside. The first option is better.