QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
The QgsSldExportContext class holds SLD export options and other information related to SLD export of a QGIS layer style. More...
#include <qgssldexportcontext.h>
Public Member Functions | |
QgsSldExportContext ()=default | |
Constructs a default SLD export context. More... | |
QgsSldExportContext (const Qgis::SldExportOptions &options, const Qgis::SldExportVendorExtension &vendorExtension, const QString &filePath) | |
/brief Create a new QgsSldExportContext /param options SLD export options /param vendorExtension SLD export vendor extension /param filePath SLD export file path More... | |
QgsSldExportContext (const QgsSldExportContext &other)=default | |
Constructs a copy of SLD export context other. More... | |
~QgsSldExportContext ()=default | |
QString | exportFilePath () const |
Returns the export file path for the SLD. More... | |
Qgis::SldExportOptions | exportOptions () const |
Returns the export options. More... | |
QgsSldExportContext & | operator= (const QgsSldExportContext &other)=default |
Copy the values of other into the SLD export context. More... | |
void | setExportFilePath (const QString &exportFilePath) |
Sets the export file path for the SLD to exportFilePath. More... | |
void | setExportOptions (const Qgis::SldExportOptions &exportOptions) |
Set export options to exportOptions. More... | |
void | setVendorExtension (const Qgis::SldExportVendorExtension &vendorExtension) |
Sets the vendor extensions to vendorExtension. More... | |
Qgis::SldExportVendorExtension | vendorExtensions () const |
Returns the vendor extension enabled for the SLD export. More... | |
The QgsSldExportContext class holds SLD export options and other information related to SLD export of a QGIS layer style.
Definition at line 28 of file qgssldexportcontext.h.
|
default |
Constructs a default SLD export context.
|
default |
|
default |
Constructs a copy of SLD export context other.
QgsSldExportContext::QgsSldExportContext | ( | const Qgis::SldExportOptions & | options, |
const Qgis::SldExportVendorExtension & | vendorExtension, | ||
const QString & | filePath | ||
) |
/brief Create a new QgsSldExportContext /param options SLD export options /param vendorExtension SLD export vendor extension /param filePath SLD export file path
Definition at line 18 of file qgssldexportcontext.cpp.
QString QgsSldExportContext::exportFilePath | ( | ) | const |
Returns the export file path for the SLD.
Definition at line 46 of file qgssldexportcontext.cpp.
Qgis::SldExportOptions QgsSldExportContext::exportOptions | ( | ) | const |
Returns the export options.
Definition at line 26 of file qgssldexportcontext.cpp.
|
default |
Copy the values of other into the SLD export context.
void QgsSldExportContext::setExportFilePath | ( | const QString & | exportFilePath | ) |
Sets the export file path for the SLD to exportFilePath.
Definition at line 51 of file qgssldexportcontext.cpp.
void QgsSldExportContext::setExportOptions | ( | const Qgis::SldExportOptions & | exportOptions | ) |
Set export options to exportOptions.
Definition at line 31 of file qgssldexportcontext.cpp.
void QgsSldExportContext::setVendorExtension | ( | const Qgis::SldExportVendorExtension & | vendorExtension | ) |
Sets the vendor extensions to vendorExtension.
Definition at line 41 of file qgssldexportcontext.cpp.
Qgis::SldExportVendorExtension QgsSldExportContext::vendorExtensions | ( | ) | const |
Returns the vendor extension enabled for the SLD export.
Definition at line 36 of file qgssldexportcontext.cpp.