Skip To Content ArcGIS for Developers Sign In Dashboard

Obsolete Members for DictionarySymbolStyle

The following members of class DictionarySymbolStyle are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) DictionarySymbolStyle(const QString &specificationType, QObject *parent = nullptr)
(obsolete) DictionarySymbolStyle(const QString &specificationType, const QString &styleLocation, QObject *parent = nullptr)
(obsolete) QMap<QString, QString> configurationProperties() const
(obsolete) void setConfigurationProperties(const QMap<QString, QString> &configurationProperties)
(obsolete) QString specificationType() const

Member Function Documentation

DictionarySymbolStyle::DictionarySymbolStyle(const QString &specificationType, QObject *parent = nullptr)

Constructor that takes a specificationType, with an optional parent.

An example of specificationType is "mil2525d".

This constructor is deprecated in 100.6.0 Use the static createFromFile method instead.

DictionarySymbolStyle::DictionarySymbolStyle(const QString &specificationType, const QString &styleLocation, QObject *parent = nullptr)

Constructor that takes a specificationType, a styleLocation and an optional parent.

An example of specificationType is "mil2525d".

You must provide the path to the .stylx file in styleLocation. This constructor is only valid with the older format (non-Arcade based) .stylx files.

This constructor is deprecated in 100.6.0 Use the static createFromFile method instead.

QMap<QString, QString> DictionarySymbolStyle::configurationProperties() const

Returns the currently applied configuration properties.

Each symbology rule engine may have additional properties that can be configured. To modify these properties, obtain the defaults using this method, modify them to the desired values, and set them using setConfigurationProperties.

The configuration properties are deprecated in 100.6.0. Use the configurations property instead. These configuration properties have no effect on the Arcade-based styles.

See also setConfigurationProperties().

void DictionarySymbolStyle::setConfigurationProperties(const QMap<QString, QString> &configurationProperties)

Sets the DictionarySymbolStyle's configurationProperties.

Obtain the initial values from configurationProperties, modify to the desired values, and set them to the symbol dictionary using this function.

The configuration properties are deprecated in 100.6.0. Use the configurations property instead to modify any configuration.

See also configurationProperties().

QString DictionarySymbolStyle::specificationType() const

Returns the specification type of the DictionarySymbolStyle, such as "mil2525d".

The specification type is deprecated in 100.6.0. With the new Arcade-based styles, the style specification logic is embedded in the style file itself. Since the logic is not internal to the ArcGIS Runtime code, functionality is not limited to the supported military specification and can be customized for a variety of uses. Use the dictionaryName property instead.


Feedback on this topic?