[Development] QSortFilterProxyModel: recursiveFilteringEnabled

Kevin Kofler kevin.kofler at chello.at
Tue Sep 26 12:46:09 CEST 2023


László Papp wrote:
> Since both QML and KDE have had this use case, and now, I also have it, as
> well as another person on Stack Overflow, should we propose a public API
> in Qt for this?
> 
> I think this would be a great addition to the public interface.
> 
> For now, I will implement my own version, but it sounds like this is
> common enough to offer it in the public API longer-term.

Can you not just use KItemModels? The KDescendantsProxyModel there is 
public, and it is a Tier 1 Framework depending only on QtCore and (if you 
want QML support) QtQml. Or is the LGPL-2.0-or-later license the issue?

        Kevin Kofler



More information about the Development mailing list