migel
18th July 2012, 20:59
Hi
I have a custom model and use QSortFilterProxyModel for filtering. Problem is when I setRootIndex() for one of the child index for the view and use the filtering. It filters all items in the model and not up to that index previously set in rootIndex(), also when I take my filtering out, it displays all items in the view and not children of index set to the root any more.
Is it normal behave or I do something strange ?
Thanks
I have a custom model and use QSortFilterProxyModel for filtering. Problem is when I setRootIndex() for one of the child index for the view and use the filtering. It filters all items in the model and not up to that index previously set in rootIndex(), also when I take my filtering out, it displays all items in the view and not children of index set to the root any more.
Is it normal behave or I do something strange ?
Thanks