25 return QStringLiteral(
"KeyValue" );
31 Q_UNUSED( fieldIndex )
41 const QVariantMap map = value.toMap();
42 for ( QVariantMap::const_iterator i = map.constBegin(); i != map.constEnd(); ++i )
44 if ( !result.isEmpty() )
45 result.append(
", " );
46 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 dataset.