QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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
162 virtual void unload() = 0;
170 QString mDescription;
198 typedef const QString *
name_t();
213 typedef const QString *
icon_t();
224 #endif // QGISPLUGIN_H
const typedef QString * version_t()
Typedef for getting the plugin version without instantiating the plugin.
const typedef QString * icon_t()
Typedef for getting the plugin icon file name without instantiating the plugin.
@ Renderer
A plugin for a new renderer class.
Abstract base class from which all plugins must inherit.
QString & version()
Version of the plugin.
const typedef QString * update_date_t()
Typedef for getting the update date status without instantiating the plugin.
virtual ~QgisPlugin()=default
const QString & description() const
A brief description of the plugin.
QString & category()
Plugin category.
const typedef QString * name_t()
Typedef for getting the name of the plugin without instantiating it.
virtual void initGui()=0
function to initialize connection to GUI
const typedef QString * experimental_t()
Typedef for getting the experimental status without instantiating the plugin.
const QString & name() const
Gets the name of the plugin.
@ UI
User interface plug-in.
const QgisPlugin::PluginType & type() const
Plugin type, either UI or map layer.
const QString & version() const
Version of the plugin.
const typedef QString * description_t()
Typedef for getting the description without instantiating the plugin.
QString & description()
A brief description of the plugin.
@ MapLayer
Map layer plug-in.
const typedef QString * category_t()
Typedef for getting the category without instantiating the plugin.
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 * create_t(QgisInterface *)
Typedef for the function that returns a generic pointer to a plugin object.
const typedef QString * create_date_t()
Typedef for getting the create date without instantiating the plugin.
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.
const QString & category() const
Plugin category.