16#ifndef QGSATTRIBUTEFORMEDITORWIDGET_H
17#define QGSATTRIBUTEFORMEDITORWIDGET_H
67 void initialize(
const QVariant &initialValue,
bool mixedValues =
false,
const QVariantList &additionalFieldValues = QVariantList() );
78 QVariant currentValue()
const;
88 void setConstraintResultVisible(
bool editable );
102 void setIsMixed(
bool mixed );
107 void changesCommitted();
124 void valuesChanged(
const QVariant &value,
const QVariantList &additionalFieldValues );
129 void editorWidgetValuesChanged(
const QVariant &value,
const QVariantList &additionalFieldValues );
135 void setFieldTriggered();
137 void onAggregateChanged();
143 QLabel *mConstraintResultLabel =
nullptr;
147 QVariant mPreviousValue;
148 QVariantList mPreviousAdditionalValues;
149 bool mBlockValueUpdate;
153 void updateWidgets() final;
155 friend class TestQgsAttributeForm;
This class contains context information for attribute editor widgets.
Represents a vector layer which manages a vector based data sets.