[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: KSortFilterProxyModel
From: John Tapsell <johnflux () gmail ! com>
Date: 2009-06-30 22:27:01
Message-ID: 43d8ce650906301527vbc273c2q7d0dedb9be2d03be () mail ! gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic