QGIS API Documentation
2.8.2-Wien
|
Abstract base class from which all plugins must inherit. More...
#include <qgisplugin.h>
Public Types | |
enum | PLUGINTYPE { UI = 1, MAPLAYER, RENDERER } |
Interface to gui element collection object. More... |
Public Member Functions | |
QgisPlugin (QString const &name="", QString const &description="", QString const &category="", QString const &version="", PLUGINTYPE const &type=MAPLAYER) | |
virtual | ~QgisPlugin () |
QString const & | category () const |
Plugin category. | |
QString & | category () |
Plugin category. | |
QString const & | description () const |
A brief description of the plugin. | |
QString & | description () |
A brief description of the plugin. | |
virtual void | initGui ()=0 |
function to initialize connection to GUI | |
QString const & | name () const |
Get the name of the plugin. | |
QString & | name () |
QgisPlugin::PLUGINTYPE const & | type () const |
Plugin type, either UI or map layer. | |
QgisPlugin::PLUGINTYPE & | type () |
Plugin type, either UI or map layer. | |
virtual void | unload ()=0 |
Unload the plugin and cleanup the GUI. | |
QString const & | version () const |
Version of the plugin. | |
QString & | version () |
Version of the plugin. |
Abstract base class from which all plugins must inherit.
Definition at line 48 of file qgisplugin.h.
Interface to gui element collection object.
Element types that can be added to the interface
Definition at line 67 of file qgisplugin.h.
|
inline |
Definition at line 75 of file qgisplugin.h.
|
inlinevirtual |
Definition at line 87 of file qgisplugin.h.
|
inline |
Plugin category.
Definition at line 126 of file qgisplugin.h.
|
inline |
Plugin category.
Definition at line 132 of file qgisplugin.h.
|
inline |
A brief description of the plugin.
Definition at line 114 of file qgisplugin.h.
|
inline |
A brief description of the plugin.
Definition at line 120 of file qgisplugin.h.
|
pure virtual |
function to initialize connection to GUI
|
inline |
Get the name of the plugin.
Definition at line 91 of file qgisplugin.h.
|
inline |
Definition at line 96 of file qgisplugin.h.
|
inline |
Plugin type, either UI or map layer.
Definition at line 138 of file qgisplugin.h.
|
inline |
Plugin type, either UI or map layer.
Definition at line 145 of file qgisplugin.h.
|
pure virtual |
Unload the plugin and cleanup the GUI.
|
inline |
Version of the plugin.
Definition at line 102 of file qgisplugin.h.
|
inline |
Version of the plugin.
Definition at line 108 of file qgisplugin.h.