summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-02-19 21:39:23 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-01 10:21:44 -0800
commite0766aa4bdd19dbcf538534abc8369aff6a6fa7a (patch)
treeb9fe1a781b66cb4128144a429943fd80564de6cc /mobile-widgets/qmlmanager.h
parentc1e33aac214c331f293e6257c9be509421f77c96 (diff)
downloadsubsurface-e0766aa4bdd19dbcf538534abc8369aff6a6fa7a.tar.gz
filter: introduce people- and tags-filtering in the mobile UI
Add a combo-box where the user can switch between "fulltext", "people" and "tags" filtering. Connect the combobox to the already existing filter-code. Dirk: make combo-box smaller by using a smaller font and restricting the width. Setting both maximum and preferred widths gives more consistent results. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index c3124c21c..466413dd3 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -104,7 +104,7 @@ public:
Q_INVOKABLE int getDetectedProductIndex(const QString &currentVendorText);
Q_INVOKABLE int getConnectionIndex(const QString &deviceSubstr);
Q_INVOKABLE void setGitLocalOnly(const bool &value);
- Q_INVOKABLE void setFilter(const QString filterText);
+ Q_INVOKABLE void setFilter(const QString filterText, int mode);
static QMLManager *instance();
Q_INVOKABLE void registerError(QString error);