Subgroup: Auth

Class: QgsAuthConfigSelect

class qgis.gui.QgsAuthConfigSelect(parent: QWidget = None, dataprovider: str = '')

Bases: PyQt5.QtWidgets.QWidget

Create a dialog for setting an associated authentication config, either from existing configs, or creating/removing them from auth database

Parameters:
  • parent – Parent widget
  • dataprovider – The key of the calling layer provider, if applicable

Selector widget for authentication configs

Methods

actionEvent
changeEvent
childEvent
clearMessage Clear and hide small message bar
closeEvent
configId Get the authentication config id for the resource
connectNotify
contextMenuEvent
create
customEvent
destroy
disconnectNotify
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
enterEvent
event
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPreviousChild
hideEvent
initPainter
inputMethodEvent
isSignalConnected
keyPressEvent
keyReleaseEvent
leaveEvent
metric
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nativeEvent
paintEvent
receivers
resizeEvent
sender
senderSignalIndex
setConfigId Set the authentication config id for the resource
setDataProviderKey Set key of layer provider, if applicable
sharedPainter
showEvent
showMessage Show a small message bar with a close button
tabletEvent
timerEvent
updateMicroFocus
wheelEvent

Signals

selectedConfigIdChanged Emitted when authentication config is changed or missing [signal]
selectedConfigIdRemoved Emitted when authentication config is removed [signal]

Attributes

actionEvent()
changeEvent()
childEvent()
clearMessage(self)

Clear and hide small message bar

closeEvent()
configId(self) → str

Get the authentication config id for the resource

connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
selectedConfigIdChanged

Emitted when authentication config is changed or missing [signal]

selectedConfigIdRemoved

Emitted when authentication config is removed [signal]

sender()
senderSignalIndex()
setConfigId(self, authcfg: str)

Set the authentication config id for the resource

setDataProviderKey(self, key: str)

Set key of layer provider, if applicable

sharedPainter()
showEvent()
showMessage(self, msg: str)

Show a small message bar with a close button

tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()