Abstract interface class for the QGIS plugin manager.
More...
#include <qgspluginmanagerinterface.h>
|
| | QgsPluginManagerInterface ()=default |
| virtual void | addPluginMetadata (const QMap< QString, QString > &metadata)=0 |
| | add a single plugin to the metadata registry
|
| virtual void | addToRepositoryList (const QMap< QString, QString > &repository)=0 |
| | add repository to the repository listWidget
|
| virtual void | clearPythonPluginMetadata ()=0 |
| | remove Python plugins from the metadata registry (c++ plugins stay)
|
| virtual void | clearRepositoryList ()=0 |
| | clear the repository listWidget
|
| virtual const QMap< QString, QString > * | pluginMetadata (const QString &key) const =0 |
| | Returns given plugin metadata.
|
| virtual void | pushMessage (const QString &text, Qgis::MessageLevel level=Qgis::MessageLevel::Info, int duration=-1)=0 |
| | show the given message in the Plugin Manager internal message bar
|
| virtual void | reloadModel ()=0 |
| | refresh plugin list model (and metadata browser content if necessary)
|
| virtual void | showPluginManager (int tabIndex=-1, const QString &searchTerm=QString())=0 |
| | Shows the Plugin Manager window and optionally open tab tabIndex and pre-fill search term.
|
Abstract interface class for the QGIS plugin manager.
Definition at line 32 of file qgspluginmanagerinterface.h.
◆ QgsPluginManagerInterface()
| QgsPluginManagerInterface::QgsPluginManagerInterface |
( |
| ) |
|
|
default |
◆ addPluginMetadata()
| virtual void QgsPluginManagerInterface::addPluginMetadata |
( |
const QMap< QString, QString > & | metadata | ) |
|
|
pure virtual |
add a single plugin to the metadata registry
◆ addToRepositoryList()
| virtual void QgsPluginManagerInterface::addToRepositoryList |
( |
const QMap< QString, QString > & | repository | ) |
|
|
pure virtual |
add repository to the repository listWidget
◆ clearPythonPluginMetadata()
| virtual void QgsPluginManagerInterface::clearPythonPluginMetadata |
( |
| ) |
|
|
pure virtual |
remove Python plugins from the metadata registry (c++ plugins stay)
◆ clearRepositoryList()
| virtual void QgsPluginManagerInterface::clearRepositoryList |
( |
| ) |
|
|
pure virtual |
clear the repository listWidget
◆ pluginMetadata()
| virtual const QMap< QString, QString > * QgsPluginManagerInterface::pluginMetadata |
( |
const QString & | key | ) |
const |
|
pure virtual |
Returns given plugin metadata.
◆ pushMessage()
show the given message in the Plugin Manager internal message bar
◆ reloadModel()
| virtual void QgsPluginManagerInterface::reloadModel |
( |
| ) |
|
|
pure virtual |
refresh plugin list model (and metadata browser content if necessary)
◆ showPluginManager()
| virtual void QgsPluginManagerInterface::showPluginManager |
( |
int | tabIndex = -1, |
|
|
const QString & | searchTerm = QString() ) |
|
pure virtual |
Shows the Plugin Manager window and optionally open tab tabIndex and pre-fill search term.
The searchTerm argument was added in QGIS 4.2
The documentation for this class was generated from the following file: