I want to save the sortcolumn and sortorder of a QTableModel->QSortFilterProxyModel->QTreeView with QSettings.
I'm finding it a challenge to set and/or get these two settings from my little setup. I would expect to find a function specifically meant to get and restore these settings, like there is one to get and restore the toolbar-positions.
The actual sorting happens in the QSortFilterProxyModel, doesn't it? But I can't find the functions I need in there.
Any help?
Thanks in advance!
Bookmarks