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>
This commit is contained in:
Tomaz Canabrava 2018-10-13 11:52:08 +02:00 committed by Dirk Hohndel
parent c64c9c923b
commit 19f6e8810c
8 changed files with 363 additions and 15 deletions

View file

@ -0,0 +1,27 @@
#ifndef FILTERWIDGET_2_H
#define FILTERWIDGET_2_H
#include <QWidget>
#include <memory>
#include "ui_filterwidget2.h"
namespace Ui {
class FilterWidget2;
}
class FilterWidget2 : public QWidget {
Q_OBJECT
public:
explicit FilterWidget2(QWidget *parent = 0);
void updateFilter();
signals:
void filterUpdated();
private:
std::unique_ptr<Ui::FilterWidget2> ui;
};
#endif