QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
Manages QGIS Server properties for a map layer. More...
#include <qgsmaplayerserverproperties.h>
Classes | |
struct | MetadataUrl |
MetadataUrl structure. More... | |
Public Member Functions | |
virtual | ~QgsServerMetadataUrlProperties ()=default |
void | addMetadataUrl (const QgsServerMetadataUrlProperties::MetadataUrl &metaUrl) |
Add a metadataUrl for the layer. More... | |
virtual const QgsMapLayer * | layer () const =0 |
Gets the parent layer. More... | |
QList< QgsServerMetadataUrlProperties::MetadataUrl > | metadataUrls () const |
Returns a list of metadataUrl resources associated for the layer. More... | |
void | setMetadataUrls (const QList< QgsServerMetadataUrlProperties::MetadataUrl > &metaUrls) |
Sets a the list of metadata URL for the layer. More... | |
Protected Member Functions | |
void | copyTo (QgsServerMetadataUrlProperties *properties) const |
Copy properties to another instance. More... | |
void | readXml (const QDomNode &layer_node) |
Reads server properties from project file. More... | |
void | reset () |
Reset properties to default. More... | |
void | writeXml (QDomNode &layer_node, QDomDocument &document) const |
Saves server properties to xml under the layer node. More... | |
Manages QGIS Server properties for a map layer.
Definition at line 38 of file qgsmaplayerserverproperties.h.
|
virtualdefault |
|
inline |
Add a metadataUrl for the layer.
Definition at line 102 of file qgsmaplayerserverproperties.h.
|
protected |
Copy properties to another instance.
properties | The properties to copy to |
Definition at line 33 of file qgsmaplayerserverproperties.cpp.
|
pure virtual |
Gets the parent layer.
Implemented in QgsMapLayerServerProperties.
|
inline |
Returns a list of metadataUrl resources associated for the layer.
Definition at line 89 of file qgsmaplayerserverproperties.h.
|
protected |
Reads server properties from project file.
Definition at line 43 of file qgsmaplayerserverproperties.cpp.
|
protected |
Reset properties to default.
Definition at line 38 of file qgsmaplayerserverproperties.cpp.
|
inline |
Sets a the list of metadata URL for the layer.
Definition at line 96 of file qgsmaplayerserverproperties.h.
|
protected |
Saves server properties to xml under the layer node.
Definition at line 59 of file qgsmaplayerserverproperties.cpp.