QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
40 qDeleteAll( mFormats );
45 return mFormats.keys();
66 if ( mFormats.contains(
id ) )
67 return mFormats.value(
id )->clone();
74 if ( mFormats.contains(
id ) )
75 return mFormats.value(
id )->create( configuration, context );
83 const QString
id = element.attribute( QStringLiteral(
"id" ) );
85 if ( mFormats.contains(
id ) )
86 return mFormats.value(
id )->create( configuration, context );
98 if ( mFormats.contains(
id ) )
99 return mFormats.value(
id )->visibleName();
106 if ( mFormats.contains(
id ) )
107 return mFormats.value(
id )->sortKey();
static QVariant readVariant(const QDomElement &element)
Read a QVariant from a QDomElement.