Class: QgsGeoNodeConnection¶
- class qgis.core.QgsGeoNodeConnection(name: str)¶
Bases:
sip.wrapper
Constructor for a
QgsGeoNodeConnection
with the specifiedname
.QgsGeoNodeConnection(
QgsGeoNodeConnection
)Encapsulates settings related to a single GeoNode connection.
Methods
Adds uri parameters relating to the settings for a WFS layer on the connection to a
QgsDataSourceUri
uri
.Adds uri parameters relating to the settings for a WMS layer on the connection to a
QgsDataSourceUri
uri
.Returns the name of the connection.
Sets the
name
of the connection.Sets the
uri
for the GeoNode connection.Returns the URI for the GeoNode connection.
- addWfsConnectionSettings(self, uri: QgsDataSourceUri) → QgsDataSourceUri¶
Adds uri parameters relating to the settings for a WFS layer on the connection to a
QgsDataSourceUri
uri
.See also
- Parameters
uri (QgsDataSourceUri) –
- Return type
- addWmsConnectionSettings(self, uri: QgsDataSourceUri) → QgsDataSourceUri¶
Adds uri parameters relating to the settings for a WMS layer on the connection to a
QgsDataSourceUri
uri
.See also
- Parameters
uri (QgsDataSourceUri) –
- Return type
- connectionName(self) → str¶
Returns the name of the connection.
See also
- Return type
str
- setConnectionName(self, connectionName: str)¶
Sets the
name
of the connection.See also
- Parameters
connectionName (str) –
- setUri(self, uri: QgsDataSourceUri)¶
Sets the
uri
for the GeoNode connection.See also
- Parameters
uri (QgsDataSourceUri) –
- uri(self) → QgsDataSourceUri¶
Returns the URI for the GeoNode connection.
See also
- Return type