Class: QgsAuthMethodEdit

Abstract base class for the edit widget of authentication method plugins

Class Hierarchy

Inheritance diagram of qgis.gui.QgsAuthMethodEdit

Base classes

QWidget

QObject

QPaintDevice

class qgis.gui.QgsAuthMethodEdit[source]

Bases: QWidget

__init__(parent: QWidget | None = None)

Construct widget to edit an authentication method configuration

Note

Non-public since this is an abstract base class

Parameters:

parent (Optional[QWidget] = None) – Parent widget

clearConfig(self)[source]

Clear GUI controls in subclassed widget

configMap(self) Dict[str, str][source]

The configuration key-vale map of subclasses

Return type:

Dict[str, str]

loadConfig(self, configmap: Dict[str | None, str | None])[source]

Load an existing config map into subclassed widget

Parameters:

configmap (Dict[Optional[str], Optional[str]])

resetConfig(self)[source]

Clear GUI controls in subclassed widget, optionally reloading any previously loaded config map

validateConfig(self) bool[source]

Validate the configuration of subclasses

Return type:

bool

signal validityChanged[source]

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.