16 #ifndef QGSATTRIBUTEFORMEDITORWIDGET_H
17 #define QGSATTRIBUTEFORMEDITORWIDGET_H
68 void initialize(
const QVariant &initialValue,
bool mixedValues =
false,
const QVariantList &additionalFieldValues = QVariantList() );
79 QVariant currentValue()
const;
89 void setConstraintResultVisible(
bool editable );
103 void setIsMixed(
bool mixed );
108 void changesCommitted();
125 void valuesChanged(
const QVariant &value,
const QVariantList &additionalFieldValues );
130 void editorWidgetValuesChanged(
const QVariant &value,
const QVariantList &additionalFieldValues );
136 void setFieldTriggered();
138 void onAggregateChanged();
144 QLabel *mConstraintResultLabel =
nullptr;
148 QVariant mPreviousValue;
149 QVariantList mPreviousAdditionalValues;
150 bool mBlockValueUpdate;
154 void updateWidgets()
override;
156 friend class TestQgsAttributeForm;
This class contains context information for attribute editor widgets.
Represents a vector layer which manages a vector based data sets.