Hi guys,
I have a question about filtering the TableView.
I need to make something like this:
I have a TableView widget that has a model set. model has 4 columns and views selection behaviour is set to rows...
I need to implement a filtering of a view according to some value specified in lets say line edits that will be placed at the top(or better above) of that view...And filter should be applied when a checkbox( that is near those line edits) is checked...When it is unchecked it should not be applied and view should return to its previous state -> to see all of model's items.
Ive read about QSortFilterProxyModel...but found a sentence in doc saying:
"The QSortFilterProxyModel class provides support for sorting and filtering data passed between another model and a view"
Do I understand it correctly that there Is no way of filtering the view of ONE model using this FilterProxyModel class ?
How would you advise me to implement my widget ?
Thanks a Lot!
Bookmarks