2018-11-17 19:17:16 +00:00
|
|
|
#ifndef COMBOQUICKFILTERVIEW_H
|
|
|
|
#define COMBOQUICKFILTERVIEW_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QComboBox>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ComboQuickFilterView;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ComboQuickFilterView : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ComboQuickFilterView(QWidget *parent = nullptr);
|
|
|
|
~ComboQuickFilterView();
|
|
|
|
|
|
|
|
void setLabelText(const QString &text);
|
|
|
|
QComboBox *comboBox();
|
|
|
|
|
2018-11-29 21:59:34 +00:00
|
|
|
public slots:
|
|
|
|
void showFilter();
|
|
|
|
void closeFilter();
|
|
|
|
void clearFilter();
|
|
|
|
|
2018-11-17 19:17:16 +00:00
|
|
|
signals:
|
|
|
|
void filterTextChanged(const QString &text);
|
2018-11-29 21:59:34 +00:00
|
|
|
void filterClosed();
|
2018-11-17 19:17:16 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::ComboQuickFilterView *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // COMBOQUICKFILTERVIEW_H
|