Class: QgsAuthConfigSelect¶
Selector widget for authentication configs.
Class Hierarchy¶
Base classes¶
Methods
Clear and hide small message bar |
|
Gets the authentication config id for the resource |
|
Sets the authentication config id for the resource |
|
Sets key of layer provider, if applicable |
|
Show a small message bar with a close button |
Signals
Emitted when authentication config is changed or missing |
|
Emitted when authentication config is removed |
- class qgis.gui.QgsAuthConfigSelect[source]¶
Bases:
QWidget
- __init__(parent: QWidget | None = None, dataprovider: str | None = '')
Create a dialog for setting an associated authentication config, either from existing configs, or creating/removing them from auth database
- Parameters:
parent (Optional[QWidget] = None) – Parent widget
dataprovider (Optional[str] = '') – The key of the calling layer provider, if applicable
- signal selectedConfigIdChanged(authcfg: str)[source]¶
Emitted when authentication config is changed or missing
- Parameters:
authcfg (str)
- signal selectedConfigIdRemoved(authcfg: str)[source]¶
Emitted when authentication config is removed
- Parameters:
authcfg (str)
- setConfigId(self, authcfg: str | None)[source]¶
Sets the authentication config id for the resource
- Parameters:
authcfg (Optional[str])