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