Hi there,

I have created a model that sources from some data source, and a filter proxy that filters the data provided by the model:

data -> model -> filter_proxy_model

I also have 3 views, the first two show the filtered data (they use filter_proxy_model) and the last one shows the unfiltered data (uses model directly).

Now I want to synchronize selections between the three views, and naturally, if I select something in view 3, that is fully or partially filtered out in view 1 and 2, the selection in these views should be reduced accordingly.

What's the best way to do that? Simply assigning a QItemSelectionModel created for the filtered view to all three views doesn't to the job. It seems that I need some kind of ItemSelectionProxyModel as well...

What are your recommendations?

Andreas