16 #ifndef QGSAGGREGATETOOLBUTTON_H
17 #define QGSAGGREGATETOOLBUTTON_H
19 #include <QToolButton>
47 void setType( QVariant::Type type );
52 QVariant::Type type()
const;
57 void setActive(
bool active );
67 QString aggregate()
const;
72 void setAggregate(
const QString &aggregate );
87 void aboutToShowMenu();
90 void updateAvailableAggregates();
91 QMenu *mMenu =
nullptr;
92 QVariant::Type mType = QVariant::Invalid;
95 QList<QgsAggregateCalculator::AggregateInfo> mAvailableAggregates;