oKcerG / SortFilterProxyModel

A nicely exposed QSortFilterProxyModel for QML
MIT License
298 stars 101 forks source link

Is it possible to proxy the data provided by the model? #65

Open jsprenkle opened 5 years ago

jsprenkle commented 5 years ago

I'd like to implement a model with user selected elements (a file explorer). I want to add a Boolean property to each item provided by the model. It looks like this code only provides sorting and selection but no ability to modify the model data? Thanks

novoslinux commented 4 years ago

@jsprenkle You probably are not interested in this question any longer, you would be better of to not attach your isSelected into the model but use the QML ItemSelectionModel