QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
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. | |
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 | |
QgsSldExportContext (const QgsSldExportContext &other)=default | |
~QgsSldExportContext ()=default | |
QString | exportFilePath () const |
Returns the export file path for the SLD. | |
Qgis::SldExportOptions | exportOptions () const |
Returns the export options. | |
QgsSldExportContext & | operator= (const QgsSldExportContext &other)=default |
void | setExportFilePath (const QString &exportFilePath) |
Sets the export file path for the SLD to exportFilePath. | |
void | setExportOptions (const Qgis::SldExportOptions &exportOptions) |
Set export options to exportOptions. | |
void | setVendorExtension (const Qgis::SldExportVendorExtension &vendorExtension) |
Sets the vendor extensions to vendorExtension. | |
Qgis::SldExportVendorExtension | vendorExtensions () const |
Returns the vendor extension enabled for the SLD export. | |
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 |
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 |
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.