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 Gets 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 Sets the authentication config id for the resource
setDataProviderKey Sets 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

Gets 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)

Sets the authentication config id for the resource

setDataProviderKey(self, key: str)

Sets 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()