[Development] QSortFilterProxyModel: recursiveFilteringEnabled
Richard Gustavsen
Richard.Gustavsen at qt.io
Thu Sep 21 15:23:59 CEST 2023
On 21 Sep 2023, at 14:10, László Papp <lpappyt at gmail.com> wrote:
Thanks!
So, something like this?
https://api.kde.org/frameworks/kitemmodels/html/index.html
E.g. KDescendantsProxyModel or that would also require further work?
Yes, that could work. And then you give that model to QSFPM to filter away rows that has children in the original source model (since you don’t want to include the parent nodes, I take it).
-Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230921/3fd793d8/attachment.htm>
More information about the Development
mailing list