70 \todo XXX
this may be a hint that there should be subclasses
99 QString
const &
name()
const
170 QString mDescription;
QgisInterface Abstract base class defining interfaces exposed by QgisApp and made available to plugin...
Abstract base class from which all plugins must inherit.
QString const & name() const
Gets the name of the plugin.
QString const & version() const
Version of the plugin.
QgisPlugin::PluginType & type()
Plugin type, either UI or map layer.
virtual ~QgisPlugin()=default
QgisPlugin::PluginType const & type() const
Plugin type, either UI or map layer.
QString const & category() const
Plugin category.
virtual void initGui()=0
function to initialize connection to GUI
PluginType
Interface to gui element collection object.
@ Renderer
A plugin for a new renderer class.
@ MapLayer
Map layer plug-in.
@ UI
User interface plug-in.
QString const & description() const
A brief description of the plugin.
QString & description()
A brief description of the plugin.
virtual void unload()=0
Unload the plugin and cleanup the GUI.
QString & category()
Plugin category.
QgisPlugin(QString const &name="", QString const &description="", QString const &category="", QString const &version="", PluginType type=MapLayer)
Constructor for QgisPlugin.
QString & version()
Version of the plugin.
const QString * update_date_t()
Typedef for getting the update date status without instantiating the plugin.
const QString * description_t()
Typedef for getting the description without instantiating the plugin.
const QString * category_t()
Typedef for getting the category without instantiating the plugin.
const QString * create_date_t()
Typedef for getting the create date without instantiating the plugin.
void unload_t(QgisPlugin *)
Typedef for the function to unload a plugin and free its resources.
int type_t()
Typedef for getting the plugin type without instantiating the plugin.
const QString * version_t()
Typedef for getting the plugin version without instantiating the plugin.
QgisPlugin * create_t(QgisInterface *)
Typedef for the function that returns a generic pointer to a plugin object.
const QString * experimental_t()
Typedef for getting the experimental status without instantiating the plugin.
const QString * name_t()
Typedef for getting the name of the plugin without instantiating it.
const QString * icon_t()
Typedef for getting the plugin icon file name without instantiating the plugin.