Class: QgsPluginManagerInterface¶
- class qgis.gui.QgsPluginManagerInterface¶
Bases:
PyQt5.QtCore.QObject
Constructor
Methods
add a single plugin to the metadata registry
add repository to the repository listWidget
remove Python plugins from the metadata registry (c++ plugins stay)
clear the repository listWidget
Returns given plugin metadata
show the given message in the Plugin Manager internal message bar
refresh plugin list model (and metadata browser content if necessary)
show the Plugin Manager window and optionally open tab tabIndex
- addPluginMetadata(self, metadata: Dict[str, str])¶
add a single plugin to the metadata registry
- Parameters
metadata (Dict[str) –
- addToRepositoryList(self, repository: Dict[str, str])¶
add repository to the repository listWidget
- Parameters
repository (Dict[str) –
- childEvent(self, QChildEvent)¶
- clearPythonPluginMetadata(self)¶
remove Python plugins from the metadata registry (c++ plugins stay)
- clearRepositoryList(self)¶
clear the repository listWidget
- connectNotify(self, QMetaMethod)¶
- customEvent(self, QEvent)¶
- disconnectNotify(self, QMetaMethod)¶
- isSignalConnected(self, QMetaMethod) → bool¶
- pluginMetadata(self, key: str) → Dict[str, str]¶
Returns given plugin metadata
- Parameters
key (str) –
- Return type
Dict[str, str]
- pushMessage(self, text: str, level: Qgis.MessageLevel = Qgis.Info, duration: int = - 1)¶
show the given message in the Plugin Manager internal message bar
- Parameters
text (str) –
level (Qgis.MessageLevel = Qgis.Info) –
duration (int = -1) –
- receivers(self, PYQT_SIGNAL) → int¶
- reloadModel(self)¶
refresh plugin list model (and metadata browser content if necessary)
- sender(self) → QObject¶
- senderSignalIndex(self) → int¶
- showPluginManager(self, tabIndex: int = - 1)¶
show the Plugin Manager window and optionally open tab tabIndex
- Parameters
tabIndex (int = -1) –
- timerEvent(self, QTimerEvent)¶