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