17#include "moc_qgsuniquevaluesconfigdlg.cpp"
31 cfg.insert( QStringLiteral(
"Editable" ), editableUniqueValues->isChecked() );
38 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.