48 cfg.insert(
"CheckedState", configElement.
attribute(
"CheckedState" ) );
49 cfg.insert(
"UncheckedState", configElement.
attribute(
"UncheckedState" ) );
60 configElement.
setAttribute(
"CheckedState", config.value(
"CheckedState",
"1" ).toString() );
61 configElement.
setAttribute(
"UncheckedState", config.value(
"UncheckedState",
"0" ).toString() );
67 map.
insert( QCheckBox::staticMetaObject.className(), 10 );
68 map.
insert( QGroupBox::staticMetaObject.className(), 10 );
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)
iterator insert(const Key &key, const T &value)
Represents a vector layer which manages a vector based data sets.