Hello guys!

Whenever I retrieve a row from a QSqlTableModel the output on the view is naturally like this:
ss1.png

I would like to "customize" the way data is displayed like in the following image:

Sans titre.png

At first I had a wild idea of subclassing a QTableView but my guess is to manipulate the QModelIndexes and map them to new ones in the QSortFilterProxyModel but I'm not sure if this is the way to go, could you please help me on this one?

Thanks!