The sql-parsing approach is not that hard (at least for simple queries without union etc).
Apart from that, yes a custom QSortFilterProxyModel that uses several columns in QSortFilterProxyModel::lessThan() will work, too. (Just don't compare only the columns given in die indexes but the ones you are interested in)
HTH




Reply With Quote


Bookmarks