The application on which I'm working on has QStandardItems laid in QListView. I want to set a transparent image on the QStandardItem which is bound in a listview. How can a set an Overlay image on the QListView item ?
Asked
Active
Viewed 256 times
1 Answers
0
Create a custom delegate. Ovverride paint() method in next way:
1) QItemDelegate::paint( default args... );
2) p->drawPixmap( your overlay image )

Dmitry Sazonov
- 8,801
- 1
- 35
- 61