[Qt-interest] How to restore original state of QSortFilterProxyModel?
Jugdish
jugdizh at gmail.com
Thu Mar 11 18:45:57 CET 2010
After sorting a model with a QSortFilterProxyModel by clicking on various
column headers, how can I restore the model back to its original ordering
(that is, proxyRow == sourceRow) ?
I thought that QSortFilterProxyModel::invalidate() was intended to do this,
but that doesn't seem to be the case.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100311/5f0b53b3/attachment.html
More information about the Qt-interest-old
mailing list