Class: QgsPluginManagerInterface

Class Hierarchy

Inheritance diagram of qgis.gui.QgsPluginManagerInterface

Base classes

QObject

class qgis.gui.QgsPluginManagerInterface[source]

Bases: QObject

addPluginMetadata(self, metadata: Dict[str | None, str | None])[source]

add a single plugin to the metadata registry

Parameters:

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

addToRepositoryList(self, repository: Dict[str | None, str | None])[source]

add repository to the repository listWidget

Parameters:

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

clearPythonPluginMetadata(self)[source]

remove Python plugins from the metadata registry (c++ plugins stay)

clearRepositoryList(self)[source]

clear the repository listWidget

pluginMetadata(self, key: str | None) Dict[str, str] | None

Returns given plugin metadata

Parameters:

key (Optional[str])

Return type:

Optional[Dict[str, str]]

pushMessage(self, text: str | None, level: Qgis.MessageLevel = Qgis.MessageLevel.Info, duration: int = -1)[source]

show the given message in the Plugin Manager internal message bar

Parameters:
  • text (Optional[str])

  • level (Qgis.MessageLevel = Qgis.MessageLevel.Info)

  • duration (int = -1)

reloadModel(self)[source]

refresh plugin list model (and metadata browser content if necessary)

showPluginManager(self, tabIndex: int = -1)[source]

show the Plugin Manager window and optionally open tab tabIndex

Parameters:

tabIndex (int = -1)