summaryrefslogtreecommitdiffstats
path: root/qt-ui/filtermodels.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-11-16 14:04:06 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-16 18:34:47 +0000
commit7c5c38b154baeeb05d2c70a3c248cda41349133a (patch)
tree4084a8661d50e536f96eb9e98e327ee25a1bcc27 /qt-ui/filtermodels.h
parent7967d2bec1f90f230800ada64c7fe69b3f2009cd (diff)
downloadsubsurface-7c5c38b154baeeb05d2c70a3c248cda41349133a.tar.gz
Addded a min / max layout for the filter, and a filter count
But the filter count seems to be broken for some reason and I really don't know why. It seems to work for tags, but not for everything else. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/filtermodels.h')
-rw-r--r--qt-ui/filtermodels.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/filtermodels.h b/qt-ui/filtermodels.h
index b8439bb81..c70264b3d 100644
--- a/qt-ui/filtermodels.h
+++ b/qt-ui/filtermodels.h
@@ -93,11 +93,14 @@ public:
virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
void addFilterModel(MultiFilterInterface *model);
void removeFilterModel(MultiFilterInterface *model);
+ int divesFilteredOut;
+ int divesDisplayed;
public
slots:
void myInvalidate();
void clearFilter();
-
+signals:
+ void filterFinished();
private:
MultiFilterSortModel(QObject *parent = 0);
QList<MultiFilterInterface *> models;