QGIS API Documentation 3.43.0-Master (3ee7834ace6)
|
Provides widget to edit server properties. More...
#include <qgsmaplayerserverpropertieswidget.h>
Public Member Functions | |
QgsMapLayerServerPropertiesWidget (QWidget *parent=nullptr) | |
Constructor. | |
bool | hasWfsTitle () const |
Returns true if widget display a WFS title widget. | |
bool | save () |
Saves the settings to the server properties. | |
void | setHasWfsTitle (bool hasWfsTitle) |
Set whether or not server properties widget has to display a WFS title widget. | |
void | setServerProperties (QgsMapLayerServerProperties *serverProperties) |
Sets the server properties serverProperties associated with the widget. | |
void | sync () |
Updates the widget state to match the current server properties state. | |
Provides widget to edit server properties.
Definition at line 35 of file qgsmaplayerserverpropertieswidget.h.
QgsMapLayerServerPropertiesWidget::QgsMapLayerServerPropertiesWidget | ( | QWidget * | parent = nullptr | ) |
Constructor.
parent | parent widget |
Definition at line 25 of file qgsmaplayerserverpropertieswidget.cpp.
bool QgsMapLayerServerPropertiesWidget::hasWfsTitle | ( | ) | const |
Returns true
if widget display a WFS title widget.
Definition at line 46 of file qgsmaplayerserverpropertieswidget.cpp.
bool QgsMapLayerServerPropertiesWidget::save | ( | ) |
Saves the settings to the server properties.
Returns true
if server properties have been modified
Definition at line 51 of file qgsmaplayerserverpropertieswidget.cpp.
void QgsMapLayerServerPropertiesWidget::setHasWfsTitle | ( | bool | hasWfsTitle | ) |
Set whether or not server properties widget has to display a WFS title widget.
hasWfsTitle | true if server properties has to display a WFS title widget |
Definition at line 39 of file qgsmaplayerserverpropertieswidget.cpp.
void QgsMapLayerServerPropertiesWidget::setServerProperties | ( | QgsMapLayerServerProperties * | serverProperties | ) |
Sets the server properties serverProperties associated with the widget.
Definition at line 33 of file qgsmaplayerserverpropertieswidget.cpp.
void QgsMapLayerServerPropertiesWidget::sync | ( | ) |
Updates the widget state to match the current server properties state.
Definition at line 106 of file qgsmaplayerserverpropertieswidget.cpp.