I have taken editable tree model example for my application and try to implement proxyModel on top of it.
I have re-implemented filterAcceptRows() function, when i apply filter this function is calling for all the top level items.
Is it possible to call this function only for the items which are visible currently in a view & then when I scroll down Apply same filter for newly brought items into view ?

Because i have lots of data from DB (more than 20 lak top level items and child inside them), its taking much time to filter.

Or any suggestions while handling lots of data with filtering capability (I am doing lazy population too & I want my filter to be behave in this way http://www.qtcentre.org/threads/46471-QTreeView-Filter, so when I am actually iterating through all the parent and child items it is taking lots of time).

Thanks in Advance :-)