16 #ifndef QGSVALUERELATIONWIDGETWRAPPER_H 17 #define QGSVALUERELATIONWIDGETWRAPPER_H 70 QVariant
value()
const override;
79 bool valid()
const override;
83 void setValue(
const QVariant &value )
override;
97 void widgetValueChanged(
const QString &attribute,
const QVariant &newValue,
bool attributeChanged );
116 int columnCount()
const;
119 QVariant::Type fkType()
const;
124 QComboBox *mComboBox =
nullptr;
125 QTableWidget *mTableWidget =
nullptr;
126 QLineEdit *mLineEdit =
nullptr;
131 bool mEnabled =
true;
135 friend class TestQgsValueRelationWidgetWrapper;
138 #endif // QGSVALUERELATIONWIDGETWRAPPER_H
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Represents a vector layer which manages a vector based data sets.