16 #ifndef QGSMULTIEDITTOOLBUTTON_H 17 #define QGSMULTIEDITTOOLBUTTON_H 21 #include <QToolButton> 72 void setIsMixed(
bool mixed ) { mIsMixedValues = mixed; updateState(); }
80 void setIsChanged(
bool changed ) { mIsChanged = changed; updateState(); }
99 void setFieldValueTriggered();
102 void resetFieldValueTriggered();
106 void aboutToShowMenu();
107 void setFieldTriggered();
108 void resetFieldTriggered();
112 bool mIsMixedValues =
false;
113 bool mIsChanged =
false;
114 State mState = Default;
117 QMenu *mMenu =
nullptr;
123 #endif // QGSMULTIEDITTOOLBUTTON_H
Encapsulate a field in an attribute table or data source.