PDA

View Full Version : Help with a dynamic list of pictures/text



Dreamerzz
21st June 2011, 22:54
Hey guys,

Im still new to the Qt programming environment, and I was wondering what the best way to implement a sort of view which contains a list of songs.

Each row would look like the following

<picture of album> <name of song> <track length>
<picture of album>.......<artist>...........<genre>


I was considering using a table view with Qlabels as delegates, but I hear that is pretty inefficient, especially If i did not intend to edit items.

Whats the best way to display this sort of view?


Thanks!

Santosh Reddy
22nd June 2011, 01:01
QTableView should be ok, if want a plain non-hierarchical view, if you want a hierarchical view use QTreeView


I was considering using a table view with Qlabels as delegates, but I hear that is pretty inefficient, especially If i did not intend to edit items.
Editable / Non-Editable does not matter.