mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-25 06:15:26 +00:00
36 lines
538 B
C
36 lines
538 B
C
|
|
||
|
#ifndef QUICKFILTERVIEW_H
|
||
|
#define QUICKFILTERVIEW_H
|
||
|
|
||
|
#include <memory>
|
||
|
|
||
|
#include <QWidget>
|
||
|
|
||
|
namespace Ui
|
||
|
{
|
||
|
class QuickFilterView;
|
||
|
}
|
||
|
|
||
|
class QuickFilterView : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit QuickFilterView(QWidget *parent = nullptr);
|
||
|
~QuickFilterView();
|
||
|
|
||
|
public slots:
|
||
|
void showFilter();
|
||
|
void closeFilter();
|
||
|
void clearFilter();
|
||
|
|
||
|
signals:
|
||
|
void filterTextChanged(const QString &text);
|
||
|
void filterClosed();
|
||
|
|
||
|
private:
|
||
|
std::unique_ptr<Ui::QuickFilterView> ui;
|
||
|
};
|
||
|
|
||
|
#endif //QUICKFILTERVIEW_H
|