[Interest] how to put several widgets in a row of QListView?
ZHONG Zhu
Zhu.Zhong at alcatel-sbell.com.cn
Fri Sep 6 04:20:59 CEST 2013
I plan to use a list view to display mp3 music info. So each row, I'd like to show
- the song album cover as a picture (Qlabel)
- song title (Qlabel)
- one button for user to download the song
How can I do that? Should I
1. subclass QItemDelegate to implement its paint() to paint all my widgets ? or
2. I can create a widget A to hold my widgets, then create that widget A in QItemDelegate's createEditor() ?
More information about the Interest
mailing list