Class: QgsAuthConfigUriEdit

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

Bases: PyQt5.QtWidgets.QDialog

Construct wrapper dialog for select widget to edit an authcfg in a data source URI

Parameters
  • parent (QWidget = None) – Parent widget

  • datauri (str = '') – URI QString with of without an authcfg=ID string

  • dataprovider (str = '') – The key of the calling layer provider, if applicable

Dialog wrapper of select widget to edit an authcfg in a data source URI

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
dataSourceUri(self) → str

The returned, possibly edited data source URI

Return type

str

destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hasConfigId(txt: str) → bool

Whether a string contains an authcfg ID

Parameters

txt (str) –

Return type

bool

hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setDataSourceUri(self, datauri: str)

Sets the data source URI to parse

Parameters

datauri (str) –

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()