QGIS API Documentation 3.99.0-Master (f78f5286a64)
|
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. | |
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. | |
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 29 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 23 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 28 of file qgsgroupwmsdatadialog.cpp.
|
overridedefault |
|
override |
Definition at line 87 of file qgsgroupwmsdatadialog.cpp.
QString QgsGroupWmsDataDialog::groupAbstract | ( | ) | const |
Returns group WMS abstract.
Definition at line 65 of file qgsgroupwmsdatadialog.cpp.
QString QgsGroupWmsDataDialog::groupShortName | ( | ) | const |
Returns group WMS short name.
Definition at line 41 of file qgsgroupwmsdatadialog.cpp.
QString QgsGroupWmsDataDialog::groupTitle | ( | ) | const |
Returns group WMS title.
Definition at line 53 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 93 of file qgsgroupwmsdatadialog.cpp.
QgsMapLayerServerProperties * QgsGroupWmsDataDialog::serverProperties | ( | ) |
Returns QGIS Server Properties for the layer tree group.
Definition at line 77 of file qgsgroupwmsdatadialog.cpp.
const QgsMapLayerServerProperties * QgsGroupWmsDataDialog::serverProperties | ( | ) | const |
Returns QGIS Server Properties const for the layer tree group.
Definition at line 82 of file qgsgroupwmsdatadialog.cpp.
void QgsGroupWmsDataDialog::setGroupAbstract | ( | const QString & | abstract | ) |
Sets group WMS abstract.
Definition at line 71 of file qgsgroupwmsdatadialog.cpp.
void QgsGroupWmsDataDialog::setGroupShortName | ( | const QString & | shortName | ) |
Sets group WMS short name.
Definition at line 47 of file qgsgroupwmsdatadialog.cpp.
void QgsGroupWmsDataDialog::setGroupTitle | ( | const QString & | title | ) |
Sets group WMS title.
Definition at line 59 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 98 of file qgsgroupwmsdatadialog.cpp.