47 cfg.
insert(
"AllowNull", configElement.
attribute(
"AllowNull" ) ==
"1" );
63 configElement.
setAttribute(
"Style", config[
"Style"].toString() );
64 configElement.
setAttribute(
"Min", config[
"Min"].toString() );
65 configElement.
setAttribute(
"Max", config[
"Max"].toString() );
66 configElement.
setAttribute(
"Step", config[
"Step"].toString() );
67 configElement.
setAttribute(
"AllowNull", config[
"AllowNull"].toBool() );
70 configElement.
setAttribute(
"Suffix", config[
"Suffix"].toString() );
74 bool QgsRangeWidgetFactory::isFieldSupported(
QgsVectorLayer* vl,
int fieldIdx )
78 case QVariant::LongLong:
79 case QVariant::Double:
bool contains(const Key &key) const
QString attribute(const QString &name, const QString &defValue) const
bool hasAttribute(const QString &name) const
void setAttribute(const QString &name, const QString &value)
iterator insert(const Key &key, const T &value)
const QgsFields & pendingFields() const
returns field list in the to-be-committed state
Represents a vector layer which manages a vector based data sets.