QGIS API Documentation
2.6.0-Brighton
|
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 & | name () const |
Get the name of the plugin. | |
QString & | name () |
QString const & | version () const |
Version of the plugin. | |
QString & | version () |
Version of the plugin. | |
QString const & | description () const |
A brief description of the plugin. | |
QString & | description () |
A brief description of the plugin. | |
QString const & | category () const |
Plugin category. | |
QString & | category () |
Plugin category. | |
QgisPlugin::PLUGINTYPE const & | type () const |
Plugin type, either UI or map layer. | |
QgisPlugin::PLUGINTYPE & | type () |
Plugin type, either UI or map layer. | |
virtual void | initGui ()=0 |
function to initialize connection to GUI | |
virtual void | unload ()=0 |
Unload the plugin and cleanup the GUI. |
Abstract base class from which all plugins must inherit.
|
inline |
|
inlinevirtual |
|
inline |
Plugin category.
|
inline |
Plugin category.
|
inline |
A brief description of the plugin.
|
inline |
A brief description of the plugin.
|
pure virtual |
function to initialize connection to GUI
|
inline |
Get the name of the plugin.
|
inline |
|
inline |
Plugin type, either UI or map layer.
|
inline |
Plugin type, either UI or map layer.
|
pure virtual |
Unload the plugin and cleanup the GUI.
|
inline |
Version of the plugin.
|
inline |
Version of the plugin.