QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsPluginManagerInterface Class Referenceabstract

Abstract interface class for the QGIS plugin manager. More...

#include <qgspluginmanagerinterface.h>

Inheritance diagram for QgsPluginManagerInterface:

Public Member Functions

 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)=0
 show the Plugin Manager window and optionally open tab tabIndex

Detailed Description

Abstract interface class for the QGIS plugin manager.

Definition at line 32 of file qgspluginmanagerinterface.h.

Constructor & Destructor Documentation

◆ QgsPluginManagerInterface()

QgsPluginManagerInterface::QgsPluginManagerInterface ( )
default

Member Function Documentation

◆ 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()

virtual void QgsPluginManagerInterface::pushMessage ( const QString & text,
Qgis::MessageLevel level = Qgis::MessageLevel::Info,
int duration = -1 )
pure virtual

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)
pure virtual

show the Plugin Manager window and optionally open tab tabIndex


The documentation for this class was generated from the following file: