Hello All,
I’m trying to create a QSortFilterProxyModel subclass which has as its source a QSqlTableModel and provides two extra cols to supply extra data to view that is not in the source model.
Where I’m having trouble is with the reimplemented index() method.
From what I understand, if the column parameter is one of the ‘extra’ columns, I need to return an index using createIndex().
What does one supply as the third parameter to createIndex() ?
Thanks,
Mike
↧