15 #ifndef QGS_LEGEND_FILTER_BUTTON_H
16 #define QGS_LEGEND_FILTER_BUTTON_H
18 #include <QToolButton>
47 QString expressionText()
const;
53 void setExpressionText(
const QString &expression );
72 void expressionTextChanged();
75 QMenu *mMenu =
nullptr;
76 QAction *mSetExpressionAction =
nullptr;
77 QAction *mClearExpressionAction =
nullptr;
84 void onSetLegendFilterExpression();
85 void onClearFilterExpression();
86 void onToggle(
bool );
89 #endif // QGS_FILTER_LEGEND_BUTTON_H