QGIS API Documentation 3.43.0-Master (3ee7834ace6)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsMapLayerServerPropertiesWidget Class Reference

Provides widget to edit server properties. More...

#include <qgsmaplayerserverpropertieswidget.h>

Inheritance diagram for QgsMapLayerServerPropertiesWidget:
Inheritance graph
[legend]

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.
 

Detailed Description

Provides widget to edit server properties.

Note
Not available in Python bindings
Since
QGIS 3.44

Definition at line 35 of file qgsmaplayerserverpropertieswidget.h.

Constructor & Destructor Documentation

◆ QgsMapLayerServerPropertiesWidget()

QgsMapLayerServerPropertiesWidget::QgsMapLayerServerPropertiesWidget ( QWidget *  parent = nullptr)

Constructor.

Parameters
parentparent widget

Definition at line 25 of file qgsmaplayerserverpropertieswidget.cpp.

Member Function Documentation

◆ hasWfsTitle()

bool QgsMapLayerServerPropertiesWidget::hasWfsTitle ( ) const

Returns true if widget display a WFS title widget.

See also
setHasWfsTitle()

Definition at line 46 of file qgsmaplayerserverpropertieswidget.cpp.

◆ save()

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.

◆ setHasWfsTitle()

void QgsMapLayerServerPropertiesWidget::setHasWfsTitle ( bool  hasWfsTitle)

Set whether or not server properties widget has to display a WFS title widget.

Parameters
hasWfsTitletrue if server properties has to display a WFS title widget
See also
hasWfsTitle()

Definition at line 39 of file qgsmaplayerserverpropertieswidget.cpp.

◆ setServerProperties()

void QgsMapLayerServerPropertiesWidget::setServerProperties ( QgsMapLayerServerProperties serverProperties)

Sets the server properties serverProperties associated with the widget.

Definition at line 33 of file qgsmaplayerserverpropertieswidget.cpp.

◆ sync()

void QgsMapLayerServerPropertiesWidget::sync ( )

Updates the widget state to match the current server properties state.

Definition at line 106 of file qgsmaplayerserverpropertieswidget.cpp.


The documentation for this class was generated from the following files: