57 cfg.
insert(
"FilterExpression", configElement.
attribute(
"FilterExpression" ) );
58 cfg.
insert(
"OrderByValue", configElement.
attribute(
"OrderByValue" ) );
61 cfg.
insert(
"UseCompleter", configElement.
attribute(
"UseCompleter" ) );
75 configElement.
setAttribute(
"FilterExpression", config.
value(
"FilterExpression" ).toString() );
76 configElement.
setAttribute(
"OrderByValue", config.
value(
"OrderByValue" ).toBool() );
77 configElement.
setAttribute(
"AllowMulti", config.
value(
"AllowMulti" ).toBool() );
79 configElement.
setAttribute(
"UseCompleter", config.
value(
"UseCompleter" ).toBool() );
98 if ( config.
value(
"AllowMulti" ).toBool() )
105 if ( keyList.
contains( item.first.toString() ) )
107 valueList << item.second;
118 return settings.
value(
"qgis/nullValue",
"NULL" ).
toString();
123 if ( item.first == value )
QString & append(QChar ch)
QString attribute(const QString &name, const QString &defValue) const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
QString & prepend(QChar ch)
bool contains(const QString &str, Qt::CaseSensitivity cs) const
QString join(const QString &separator) const
QString & remove(int position, int n)
void setAttribute(const QString &name, const QString &value)
QVariant value(const QString &key, const QVariant &defaultValue) const
iterator insert(const Key &key, const T &value)
Represents a vector layer which manages a vector based data sets.
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
const T value(const Key &key) const