[Interest] Issue with QSqlModel and QSortFilterModel
scott at towel42.com
Wed Apr 17 23:40:02 CEST 2019
I have a source model, which is QSqlModel based, and a filter proxy model.
Its not possible to make the filter part of the SQL query.. been down that road...
The problem is, since the QSqlModel is quite large, we cant do a "keep fetching till you can no longer fetch" as it would take almost 30 seconds to load the whole DB.
But, if the filter, doesn't find something in the first "batch" there is no way to call the next fetch (which is usually triggered by the scrollbar
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest