18 #ifndef QGSMAPLAYERSERVERPROPERTIES_H
19 #define QGSMAPLAYERSERVERPROPERTIES_H
22 #include "qgis_core.h"
55 MetadataUrl(
const QString &url = QString(),
const QString &type = QString(),
const QString &format = QString() )
89 QList<QgsServerMetadataUrlProperties::MetadataUrl>
metadataUrls()
const {
return mMetadataUrls; };
96 void setMetadataUrls(
const QList<QgsServerMetadataUrlProperties::MetadataUrl> &metaUrls ) { mMetadataUrls = metaUrls; };
109 void writeXml( QDomNode &layer_node, QDomDocument &document )
const SIP_SKIP;
112 void readXml(
const QDomNode &layer_node )
SIP_SKIP;
125 QList<MetadataUrl> mMetadataUrls;
150 Q_ENUM( PredefinedWmsDimensionName )
175 const QString &dimFieldName,
176 const QString &dimEndFieldName = QString(),
177 const QString &dimUnits = QString(),
178 const QString &dimUnitSymbol = QString(),
180 const QVariant &dimReferenceValue = QVariant() )
182 , fieldName( dimFieldName )
183 , endFieldName( dimEndFieldName )
185 , unitSymbol( dimUnitSymbol )
186 , defaultDisplayType( dimDefaultDisplayType )
187 , referenceValue( dimReferenceValue )
204 static QMap<int, QString> wmsDimensionDefaultDisplayLabels();
219 bool removeWmsDimension(
const QString &wmsDimName );
226 void setWmsDimensions(
const QList<QgsServerWmsDimensionProperties::WmsDimensionInfo> &dimensions );
232 const QList<QgsServerWmsDimensionProperties::WmsDimensionInfo> wmsDimensions()
const;
242 void writeXml( QDomNode &layer_node, QDomDocument &document )
const SIP_SKIP;
247 void readXml(
const QDomNode &layer_node )
SIP_SKIP;
296 void writeXml( QDomNode &layer_node, QDomDocument &document )
const;
302 void readXml(
const QDomNode &layer_node );
330 #endif // QGSMAPLAYERSERVERPROPERTIES_H