17 #ifndef QGSPLUGINMANAGERINTERFACE_H
18 #define QGSPLUGINMANAGERINTERFACE_H
50 virtual const QMap<QString, QString> *
pluginMetadata(
const QString &key )
const = 0;
MessageLevel
Level for messages This will be used both for message log and message bar in application.
virtual void reloadModel()=0
refresh plugin list model (and metadata browser content if necessary)
virtual void addToRepositoryList(const QMap< QString, QString > &repository)=0
add repository to the repository listWidget
QgsPluginManagerInterface()=default
Constructor.
virtual void showPluginManager(int tabIndex=-1)=0
show the Plugin Manager window and optionally open tab tabIndex
virtual void addPluginMetadata(const QMap< QString, QString > &metadata)=0
add a single plugin to the metadata registry
virtual void clearPythonPluginMetadata()=0
remove Python plugins from the metadata registry (c++ plugins stay)
virtual void pushMessage(const QString &text, Qgis::MessageLevel level=Qgis::Info, int duration=-1)=0
show the given message in the Plugin Manager internal message bar
virtual void clearRepositoryList()=0
clear the repository listWidget
virtual const QMap< QString, QString > * pluginMetadata(const QString &key) const =0
Returns given plugin metadata.