QGIS API Documentation 4.3.0-Master (91d4a333d5d)
Loading...
Searching...
No Matches
QgsSaveStyleResult Class Reference

Represents the result of saving a style. More...

#include <qgsmaplayerutils.h>

Public Attributes

QString providerSaveStyleError
 Error message reported by the data provider when saving the style, or an empty string if no error occurred.
QString qmlError
 Error message generated while saving the style as QML, or an empty string if no error occurred.
QgsMapLayer::SaveStyleResults saveResult
 Flags representing which style formats (QML and/or SLD) were successfully saved.
QStringList sldErrorMessages
 List of error messages generated while exporting the style to SLD.
QStringList sldWarningMessages
 List of warning messages generated while exporting the style to SLD.

Detailed Description

Represents the result of saving a style.

Since
QGIS 4.4

Definition at line 185 of file qgsmaplayerutils.h.

Member Data Documentation

◆ providerSaveStyleError

QString QgsSaveStyleResult::providerSaveStyleError

Error message reported by the data provider when saving the style, or an empty string if no error occurred.

Definition at line 198 of file qgsmaplayerutils.h.

◆ qmlError

QString QgsSaveStyleResult::qmlError

Error message generated while saving the style as QML, or an empty string if no error occurred.

Definition at line 201 of file qgsmaplayerutils.h.

◆ saveResult

QgsMapLayer::SaveStyleResults QgsSaveStyleResult::saveResult

Flags representing which style formats (QML and/or SLD) were successfully saved.

Definition at line 189 of file qgsmaplayerutils.h.

◆ sldErrorMessages

QStringList QgsSaveStyleResult::sldErrorMessages

List of error messages generated while exporting the style to SLD.

Definition at line 192 of file qgsmaplayerutils.h.

◆ sldWarningMessages

QStringList QgsSaveStyleResult::sldWarningMessages

List of warning messages generated while exporting the style to SLD.

Definition at line 195 of file qgsmaplayerutils.h.


The documentation for this class was generated from the following file: