No. Based on a given source model index you have to be able to calculate the hierarchy (parent) and position (row, column) in the destination model.
If this all sounds too complicated for you, you can forget about query and proxy models and based on QSqlQuery and QStandardItemModel build a new model and copy the data to it from the query.





Reply With Quote
Bookmarks