Skip to content

Commit d5508f1

Browse files
author
timlinux
committed
Add proper link to QgisPlugin in dxygen docs
git-svn-id: http://svn.osgeo.org/qgis/trunk@5206 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 6646547 commit d5508f1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/plugins/plugin_template/README.whatnext

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ http://svn.qgis.org/api_doc/html/
1313
In particular look at the following classes:
1414

1515
QGisInterface : http://svn.qgis.org/api_doc/html/classQgisInterface.html
16-
QGisIface : http://svn.qgis.org/api_doc/html/classQgisIface.html
17-
QgsMapTool : http://svn.qgis.org/api_doc/html/classQgsMapTool.html
18-
QgsPlugin :
16+
QGisIface : http://svn.qgis.org/api_doc/html/classQgisIface.html
17+
QgsMapTool : http://svn.qgis.org/api_doc/html/classQgsMapTool.html
18+
QgsPlugin : http://svn.qgis.org/api_doc/html/classQgisPlugin.html
1919

2020
QGisIface is an abstract base class (ABC) that specifies what publicly available features of QGIS are exposed to third party code and plugins. QgisInterface is an concrete implementation of this ABC. The preferred way to carry out operations on QGIS is via the QGisInterface. An instance of the QgisInterface is passed to the plugin when it loads. Please consult the QGIS development team if there is functionality required in the QGisInterface that is not available.
2121

@@ -29,7 +29,7 @@ This is the generated Makefile specification for your plugin. You will see that
2929

3030
[pluginlcasename].h
3131
[pluginlcasename].cpp
32-
This is the class that provides the 'glue' between your custom application logic and the QGIS application. You will see that a number of methods are already implemented for you - including some examples of how to add a raster or vector layer to the main application map canvas. This class is a subclass of QgisPlugin which defines required behaviour for a plugin. In particular, a plugin has a number of static methods and members so that the QgsPluginManager and plugin loader logic can identify each plugin, create an appropriate menu entry for it etc. Note there is nothing stopping you creating multiple toolbar icons and menu entries for a single plugin. By default though a single menu entry and toolbar button is created and its pre-configured to call the run() method in this class when selected. This default implementation provided for you by the plugin builder is well documented, so please refer to the code for further advice.
32+
This is the class that provides the 'glue' between your custom application logic and the QGIS application. You will see that a number of methods are already implemented for you - including some examples of how to add a raster or vector layer to the main application map canvas. This class is a concrete implementation of QgisPlugin (which defines required behaviour for a plugin). In particular, a plugin has a number of static methods and members so that the QgsPluginManager and plugin loader logic can identify each plugin, create an appropriate menu entry for it etc. Note there is nothing stopping you creating multiple toolbar icons and menu entries for a single plugin. By default though a single menu entry and toolbar button is created and its pre-configured to call the run() method in this class when selected. This default implementation provided for you by the plugin builder is well documented, so please refer to the code for further advice.
3333

3434
[pluginlcasename]guibase.ui
3535
[pluginlcasename]guibase.ui.h

0 commit comments

Comments
 (0)