Class: QgsAuthConfigEditor¶
- class qgis.gui.QgsAuthConfigEditor¶
Bases:
PyQt5.QtWidgets.QWidget
Widget for editing authentication configuration database
QgsAuthConfigEditor(parent: QWidget = None, showUtilities: bool = True, relayMessages: bool = True) Widget for editing authentication configurations directly in database
- Parameters
parent – Parent widget
showUtilities – Whether to show the widget’s utilities button
relayMessages –
Whether to relay auth manager messages to internal message bar
Methods
Returns the list of selected authentication configuration IDs
Sets whether to relay auth manager messages to internal message bar, e.g.
Sets whether to show the widget's utilities button, e.g.
Hide the widget's title, e.g.
- actionEvent(self, QActionEvent)¶
- changeEvent(self, QEvent)¶
- childEvent(self, QChildEvent)¶
- closeEvent(self, QCloseEvent)¶
- connectNotify(self, QMetaMethod)¶
- contextMenuEvent(self, QContextMenuEvent)¶
- create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- customEvent(self, QEvent)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPreviousChild(self) bool ¶
- hideEvent(self, QHideEvent)¶
- initPainter(self, QPainter)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- isSignalConnected(self, QMetaMethod) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- leaveEvent(self, QEvent)¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- moveEvent(self, QMoveEvent)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- paintEvent(self, QPaintEvent)¶
- receivers(self, PYQT_SIGNAL) int ¶
- resizeEvent(self, QResizeEvent)¶
- selectedAuthenticationConfigIds(self) List[str] ¶
Returns the list of selected authentication configuration IDs
New in version 3.20.
- Return type
List[str]
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setRelayMessages(self, relay: bool = True)¶
Sets whether to relay auth manager messages to internal message bar, e.g. when embedding
- Parameters
relay (bool = True) –
- setShowUtilitiesButton(self, show: bool = True)¶
Sets whether to show the widget’s utilities button, e.g. when embedding
- Parameters
show (bool = True) –
- showEvent(self, QShowEvent)¶
- tabletEvent(self, QTabletEvent)¶
- timerEvent(self, QTimerEvent)¶
- toggleTitleVisibility(self, visible: bool)¶
Hide the widget’s title, e.g. when embedding
- Parameters
visible (bool) –
- updateMicroFocus(self)¶
- wheelEvent(self, QWheelEvent)¶