29 cfg.
insert(
"Editable", editableUniqueValues->isChecked() );
36 editableUniqueValues->setChecked( config.
value(
"Editable",
false ).toBool() );
QgsEditorWidgetConfig config() override
Create a configuration from the current GUI state.
QgsUniqueValuesConfigDlg(QgsVectorLayer *vl, int fieldIdx, QWidget *parent=0)
void setConfig(const QgsEditorWidgetConfig &config) override
Update the configuration widget to represent the given configuration.
iterator insert(const Key &key, const T &value)
Represents a vector layer which manages a vector based data sets.
const T value(const Key &key) const