|
QGIS API Documentation 4.1.0-Master (31622b25bb0)
|
A dialog for configuring a WMS group. More...
#include <qgsgroupwmsdatadialog.h>

Public Member Functions | |
| QgsGroupWmsDataDialog (const QgsMapLayerServerProperties &serverProperties, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags) | |
| Constructor. | |
| QgsGroupWmsDataDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags) | |
| Constructor. | |
| ~QgsGroupWmsDataDialog () override=default | |
| void | accept () override |
| Q_DECL_DEPRECATED QString | groupAbstract () const |
| Returns group WMS abstract. | |
| Qgis::WmsGroupRequestMode | groupRequestMode () const |
| Returns the request mode of the group. | |
| Q_DECL_DEPRECATED QString | groupShortName () const |
| Returns group WMS short name. | |
| Q_DECL_DEPRECATED QString | groupTitle () const |
| Returns group WMS title. | |
| bool | hasTimeDimension () const |
| Returns whether the time dimension should be computed for this group or not. | |
| QgsMapLayerServerProperties * | serverProperties () |
| Returns QGIS Server Properties for the layer tree group. | |
| const QgsMapLayerServerProperties * | serverProperties () const |
| Returns QGIS Server Properties const for the layer tree group. | |
| Q_DECL_DEPRECATED void | setGroupAbstract (const QString &abstract) |
| Sets group WMS abstract. | |
| void | setGroupRequestMode (Qgis::WmsGroupRequestMode groupRequestMode) |
| Sets the request mode of the group. | |
| Q_DECL_DEPRECATED void | setGroupShortName (const QString &shortName) |
| Sets group WMS short name. | |
| Q_DECL_DEPRECATED void | setGroupTitle (const QString &title) |
| Sets group WMS title. | |
| void | setHasTimeDimension (bool hasTimeDimension) |
| Sets whether the time dimension should be computed for this group or not. | |
A dialog for configuring a WMS group.
Definition at line 30 of file qgsgroupwmsdatadialog.h.
| QgsGroupWmsDataDialog::QgsGroupWmsDataDialog | ( | QWidget * | parent = nullptr, |
| Qt::WindowFlags | fl = QgsGuiUtils::ModalDialogFlags ) |
Constructor.
| parent | parent widget |
| fl | dialog window flags |
Definition at line 25 of file qgsgroupwmsdatadialog.cpp.
| QgsGroupWmsDataDialog::QgsGroupWmsDataDialog | ( | const QgsMapLayerServerProperties & | serverProperties, |
| QWidget * | parent = nullptr, | ||
| Qt::WindowFlags | fl = QgsGuiUtils::ModalDialogFlags ) |
Constructor.
| serverProperties | used to initialize the dialog |
| parent | parent widget |
| fl | dialog window flags |
Definition at line 29 of file qgsgroupwmsdatadialog.cpp.
|
overridedefault |
|
override |
Definition at line 92 of file qgsgroupwmsdatadialog.cpp.
| QString QgsGroupWmsDataDialog::groupAbstract | ( | ) | const |
Returns group WMS abstract.
Definition at line 70 of file qgsgroupwmsdatadialog.cpp.
| Qgis::WmsGroupRequestMode QgsGroupWmsDataDialog::groupRequestMode | ( | ) | const |
Returns the request mode of the group.
When it's opaque, WMS treats it as a single opaque layer instead of a collection of individual layers. Its child layers are hidden from GetCapabilities requests. Any direct requests (like GetMap or GetFeatureInfo etc.) for a child layer will result in an error. Child layers are rendered whenever a request is made for the group itself.
Definition at line 108 of file qgsgroupwmsdatadialog.cpp.
| QString QgsGroupWmsDataDialog::groupShortName | ( | ) | const |
Returns group WMS short name.
Definition at line 46 of file qgsgroupwmsdatadialog.cpp.
| QString QgsGroupWmsDataDialog::groupTitle | ( | ) | const |
Returns group WMS title.
Definition at line 58 of file qgsgroupwmsdatadialog.cpp.
| bool QgsGroupWmsDataDialog::hasTimeDimension | ( | ) | const |
Returns whether the time dimension should be computed for this group or not.
if true, when a GetCapabilities request is sent, QGIS server would return a TIME dimension computed as an union of all time dimensions of its children recursively. Else, no TIME dimension will be returned.
Definition at line 98 of file qgsgroupwmsdatadialog.cpp.
| QgsMapLayerServerProperties * QgsGroupWmsDataDialog::serverProperties | ( | ) |
Returns QGIS Server Properties for the layer tree group.
Definition at line 82 of file qgsgroupwmsdatadialog.cpp.
| const QgsMapLayerServerProperties * QgsGroupWmsDataDialog::serverProperties | ( | ) | const |
Returns QGIS Server Properties const for the layer tree group.
Definition at line 87 of file qgsgroupwmsdatadialog.cpp.
| void QgsGroupWmsDataDialog::setGroupAbstract | ( | const QString & | abstract | ) |
Sets group WMS abstract.
Definition at line 76 of file qgsgroupwmsdatadialog.cpp.
| void QgsGroupWmsDataDialog::setGroupRequestMode | ( | Qgis::WmsGroupRequestMode | groupRequestMode | ) |
Sets the request mode of the group.
| groupRequestMode | On Opaque, WMS treats it as a single opaque layer instead of a collection of individual layers. On Normal it behaves as a standard group. |
Definition at line 113 of file qgsgroupwmsdatadialog.cpp.
| void QgsGroupWmsDataDialog::setGroupShortName | ( | const QString & | shortName | ) |
Sets group WMS short name.
Definition at line 52 of file qgsgroupwmsdatadialog.cpp.
| void QgsGroupWmsDataDialog::setGroupTitle | ( | const QString & | title | ) |
Sets group WMS title.
Definition at line 64 of file qgsgroupwmsdatadialog.cpp.
| void QgsGroupWmsDataDialog::setHasTimeDimension | ( | bool | hasTimeDimension | ) |
Sets whether the time dimension should be computed for this group or not.
| hasTimeDimension | if true, when a GetCapabilities request is sent, QGIS server would return a TIME dimension computed as an union of all time dimensions of its children recursively. Else, no TIME dimension will be returned. |
Definition at line 103 of file qgsgroupwmsdatadialog.cpp.