KSortFilterProxyModel

John Tapsell johnflux at gmail.com
Tue Jun 30 23:27:01 BST 2009


Hi all,

  I added a KSortFilterProxyModel to kdelibs/kdeui/itemviews that
inherits QSortFilterProxyModel and provides a way to allow
KFilterProxySearchLine to work on trees.  So it allows you to add a
Search  box to a QTreeView with a model.

  This mirrors the functionality provided by KTreeWidgetSearchLine
which works only on QTreeWidgets.

  This class can be used in kdebase/workspace/libs/ksysguard/processui
 and  kdebase/workspace/ksysguard/gui, and probably elsewhere.  A tree
with items is pretty common in KDE.

JohnFlux




More information about the kde-core-devel mailing list