24 return QStringLiteral(
"KeyValue" );
30 Q_UNUSED( fieldIndex )
40 const QVariantMap map = value.toMap();
41 for ( QVariantMap::const_iterator i = map.constBegin(); i != map.constEnd(); ++i )
43 if ( !result.isEmpty() )
44 result.append(
", " );
45 result.append( i.key() ).append(
": " ).append( i.value().toString() );
static QString nullRepresentation()
Returns the string used to represent the value NULL throughout QGIS.
static bool isNull(const QVariant &variant, bool silenceNullWarnings=false)
Returns true if the specified variant should be considered a NULL value.
Represents a vector layer which manages a vector based data sets.