Hi All,
I'm trying to map the second column of data from a QSqlTableModel to a QListView. How would I go about doing this?
By default it displays the first column of data from the model in the QListView.
Cheers,
Donal
Hi All,
I'm trying to map the second column of data from a QSqlTableModel to a QListView. How would I go about doing this?
By default it displays the first column of data from the model in the QListView.
Cheers,
Donal
Try using QListView::setModelColumn(int column)
Great, thank you!
Bookmarks