16#ifndef QGSATTRIBUTEFORMEDITORWIDGET_H
17#define QGSATTRIBUTEFORMEDITORWIDGET_H
65 void initialize(
const QVariant &initialValue,
bool mixedValues =
false,
const QVariantList &additionalFieldValues = QVariantList() );
76 QVariant currentValue()
const;
86 void setConstraintResultVisible(
bool editable );
100 void setIsMixed(
bool mixed );
105 void changesCommitted();
122 void valuesChanged(
const QVariant &value,
const QVariantList &additionalFieldValues );
127 void editorWidgetValuesChanged(
const QVariant &value,
const QVariantList &additionalFieldValues );
133 void setFieldTriggered();
135 void onAggregateChanged();
141 QLabel *mConstraintResultLabel =
nullptr;
145 QVariant mPreviousValue;
146 QVariantList mPreviousAdditionalValues;
147 bool mBlockValueUpdate;
151 void updateWidgets() final;
153 friend class TestQgsAttributeForm;
This class contains context information for attribute editor widgets.
Represents a vector layer which manages a vector based data sets.