44 cfg.insert(
"Editable", configElement.
attribute(
"Editable",
"0" ) ==
"1" );
54 configElement.
setAttribute(
"Editable", config.value(
"Editable",
false ).toBool() );
QString attribute(const QString &name, const QString &defValue) const
QVariantMap QgsEditorWidgetConfig
Holds a set of configuration parameters for a editor widget wrapper.
void setAttribute(const QString &name, const QString &value)
Represents a vector layer which manages a vector based data sets.