Reputation: 969
I have a QStandardItemModel that is set as source of QSortFilterProxyModel using setSourceModel().
How can I access the QStandardItemModel? I need to know this in order to iterate over the unmodified data.
Upvotes: 1
Views: 2393
Reputation: 2668
yourQSortFilterProxyModelinstance->sourceModel() and cast it to QStandardItemModel*
Upvotes: 4