[Qt-interest] QListView ModelColumn

Philipp Schmidt philschmidt at gmx.net
Fri Dec 4 14:54:57 CET 2009


Hi,

i was wondering if it is possible to get QListView to show more than one 
column from a QSqlTableModel. In my case i would like it to show first- and 
lastname together. (second and third column). If that is not possible in the 
default implementation, how would i need to proceed? My guess would be to 
overwrite the data() function in the Model.

Kind Regards
Philipp Schmidt



More information about the Qt-interest-old mailing list