17#include "moc_qgsgroupwmsdatadialog.cpp"
20#include <QRegularExpressionValidator>
28 : QDialog( parent, fl )
35 mMapLayerServerPropertiesWidget->setHasWfsTitle(
false );
36 mMapLayerServerPropertiesWidget->setServerProperties( mServerProperties.get() );
41 mMapLayerServerPropertiesWidget->save();
42 return mServerProperties->shortName();
47 mServerProperties->setShortName( shortName );
48 mMapLayerServerPropertiesWidget->sync();
53 mMapLayerServerPropertiesWidget->save();
54 return mServerProperties->title();
59 mServerProperties->setTitle( title );
60 mMapLayerServerPropertiesWidget->sync();
65 mMapLayerServerPropertiesWidget->save();
66 return mServerProperties->abstract();
71 mServerProperties->setAbstract( abstract );
72 mMapLayerServerPropertiesWidget->sync();
77 return mServerProperties.get();
82 return mServerProperties.get();
87 mMapLayerServerPropertiesWidget->save();
93 return mComputeTimeDimension->checkState() == Qt::Checked;
98 mComputeTimeDimension->setCheckState(
hasTimeDimension ? Qt::Checked : Qt::Unchecked );
A dialog for configuring a WMS group.
void setHasTimeDimension(bool hasTimeDimension)
Sets whether the time dimension should be computed for this group or not.
bool hasTimeDimension() const
Returns whether the time dimension should be computed for this group or not.
Q_DECL_DEPRECATED void setGroupAbstract(const QString &abstract)
Sets group WMS abstract.
QgsGroupWmsDataDialog(QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
Constructor.
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.
Q_DECL_DEPRECATED QString groupAbstract() const
Returns group WMS abstract.
Q_DECL_DEPRECATED QString groupTitle() const
Returns group WMS title.
Q_DECL_DEPRECATED QString groupShortName() const
Returns group WMS short name.
QgsMapLayerServerProperties * serverProperties()
Returns QGIS Server Properties for the layer tree group.
Manages QGIS Server properties for a map layer.
void copyTo(QgsMapLayerServerProperties *properties) const
Copy properties to another instance.