Subgroup: other
Class: QgsOwsConnection¶
-
class
qgis.core.
QgsOwsConnection
¶ Bases:
PyQt5.QtCore.QObject
Connections management
Methods
addWfsConnectionSettings
Adds uri parameters relating to the settings for a WFS connection to a QgsDataSourceUri
uri
.addWmsWcsConnectionSettings
Adds uri parameters relating to the settings for a WMS or WCS connection to a QgsDataSourceUri
uri
.blockSignals
childEvent
children
connectNotify
connectionInfo
Returns connection info string. connectionList
Returns the list of connections for the specified service connectionName
Returns the connection name. customEvent
deleteConnection
Deletes the connection for the specified service with the specified name deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventFilter
findChild
findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject findChildren
findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject] inherits
installEventFilter
isSignalConnected
isWidgetType
isWindowType
killTimer
metaObject
moveToThread
objectName
parent
property
pyqtConfigure
Each keyword argument is either the name of a Qt property or a Qt signal. receivers
removeEventFilter
selectedConnection
Retrieves the selected connection for the specified service sender
senderSignalIndex
service
Returns a string representing the service type, e.g. setObjectName
setParent
setProperty
setSelectedConnection
Marks the specified connection for the specified service as selected signalsBlocked
startTimer
thread
timerEvent
tr
uri
Returns the connection uri. Attributes
destroyed
destroyed(self, QObject = None) [signal] objectNameChanged
objectNameChanged(self, str) [signal] staticMetaObject
-
addWfsConnectionSettings
(uri: QgsDataSourceUri, settingsKey: str) → QgsDataSourceUri¶ Adds uri parameters relating to the settings for a WFS connection to a
QgsDataSourceUri
uri
. Connection settings are taken from the specified QSettingssettingsKey
.New in version 3.0.
-
addWmsWcsConnectionSettings
(uri: QgsDataSourceUri, settingsKey: str) → QgsDataSourceUri¶ Adds uri parameters relating to the settings for a WMS or WCS connection to a
QgsDataSourceUri
uri
. Connection settings are taken from the specified QSettingssettingsKey
.New in version 3.0.
-
childEvent
()¶
-
connectNotify
()¶
-
connectionInfo
(self) → str¶ Returns connection info string.
New in version 3.0.
-
connectionList
(service: str) → List[str]¶ Returns the list of connections for the specified service
-
connectionName
(self) → str¶ Returns the connection name.
New in version 3.0.
-
customEvent
()¶
-
deleteConnection
(service: str, name: str)¶ Deletes the connection for the specified service with the specified name
-
disconnectNotify
()¶
-
isSignalConnected
()¶
-
receivers
()¶
-
selectedConnection
(service: str) → str¶ Retrieves the selected connection for the specified service
-
sender
()¶
-
senderSignalIndex
()¶
-
service
(self) → str¶ Returns a string representing the service type, e.g. “WMS”.
New in version 3.0.
-
setSelectedConnection
(service: str, name: str)¶ Marks the specified connection for the specified service as selected
-
timerEvent
()¶
-
uri
(self) → QgsDataSourceUri¶ Returns the connection uri.
-