From b49d5333119239cf32f873d25a3d46d788f9747e Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 17 Feb 2018 18:21:07 +0100 Subject: Re-Add filter It's a replacement for search. It isn't very useful yet, since it doesn't show the children yet :) --- collectionwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'collectionwidget.h') diff --git a/collectionwidget.h b/collectionwidget.h index c76582c..e2aaa02 100644 --- a/collectionwidget.h +++ b/collectionwidget.h @@ -6,6 +6,7 @@ class QStandardItemModel; class QSortFilterProxyModel; +class QLineEdit; class CollectionWidget : public QWidget { Q_OBJECT @@ -30,6 +31,7 @@ class CollectionWidget : public QWidget { QTreeView *mView; QStandardItemModel *mModel; QSortFilterProxyModel *mProxy; + QLineEdit *mFilter; QStringList mHeaders; }; -- cgit v1.2.3-70-g09d2