Solved How to share selections on different views with different models applied
-
Here is my case,
I have one global model, but several proxy models to serve different views,
so how can I share the selections between views easily?Thank you!
-
I don't see a simple solution here. Imo you have to sync them manually because they rely on different indexes (the different proxy models).
-
KLinkItemSelectionModel
from KDE is the solution: https://api.kde.org/frameworks/kitemmodels/html/classKLinkItemSelectionModel.htmlThe KItemModels module is cross platform
-
@VRonin Thank you VRonin, looks like a charming solution.