If you reimplement filterAcceptRows you can do any filtering you want. You get an index of the model, you do whatever you want with it and then return true or false to make the index visible or not. For example once I made a filter that filtered rows based on results of some heavy calculations performed on the whole model. The threshold value was set by a slider that was connected to the proxy model so whenever the slider value changed, the filter was recalculated.
Bookmarks