summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2018-10-13 11:52:08 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-12-14 01:05:18 +0800
commit19f6e8810cdaedcbecd87aa762c75e59bebe26c9 (patch)
treecae987dfcd04090530375d5ec9bb98d174d1b128 /desktop-widgets/simplewidgets.h
parentc64c9c923b1f2a4758f3ff639c28790f99c9ce84 (diff)
downloadsubsurface-19f6e8810cdaedcbecd87aa762c75e59bebe26c9.tar.gz
Start to implement a simplified version of the filter widget
The idea of this new widget is to be able to filter more types of data, while keeping it simple and extending the feature set to something that was impossible with the old implementation. While the old implementation had 4 panels that you could use to filter specific tags / people / types of dives the new one will let you filter by visibility, temperature people, name, equipment, etc, in a more natural way than the old one. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'desktop-widgets/simplewidgets.h')
-rw-r--r--desktop-widgets/simplewidgets.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop-widgets/simplewidgets.h b/desktop-widgets/simplewidgets.h
index 48e5e7e3d..040754a98 100644
--- a/desktop-widgets/simplewidgets.h
+++ b/desktop-widgets/simplewidgets.h
@@ -151,7 +151,7 @@ private:
};
namespace Ui{
- class FilterWidget2;
+ class FilterWidget;
};
class MultiFilter : public QWidget {
@@ -164,7 +164,7 @@ slots:
public:
MultiFilter(QWidget *parent);
- Ui::FilterWidget2 ui;
+ Ui::FilterWidget ui;
};
class FilterBase : public QWidget {
@@ -173,7 +173,7 @@ class FilterBase : public QWidget {
protected:
FilterBase(FilterModelBase *model, QWidget *parent = 0);
FilterModelBase *model;
- Ui::FilterWidget ui;
+ Ui::ListFilter ui;
void showEvent(QShowEvent *) override;
void hideEvent(QHideEvent *) override;
friend class MultiFilter;