mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-17 21:06:17 +00:00
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>
27 lines
380 B
C++
27 lines
380 B
C++
#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
|