I have a QTableView showing rows of a database table. In this table I have a column called data type and I have icon images for each type. How can I add these icons in front of each data type?

p.s.-
I found a thread discussing a topic much similar to this. Link ->http://www.qtcentre.org/threads/9655-QTableView-icons
But I'm afraid I didn't quite understand what it said. So if someone can explain this a little bit further, it is much appreciated. Thank you.