mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 12:56:11 +00:00
ac64bbface
* Segments implemented * Not util anymore but common * Fixed the strings to be shown as the headers better * Quick Filter functionality is supported on both Section and Segment Widget * QuickFilter should basically be on but for some widgets, they should be off
35 lines
557 B
C++
35 lines
557 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, bool defaultOn = true);
|
|
~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
|