Start QGIS Plugin

Start the Plugin Builder plugin and fill necessary inputs. In the first step, we are going to fill the names for Python classes and module names.

_images/plugin_builder1.png

Fig. 5 Initialization of new QGIS Plugin

In the next screen, fill longer description of the plugin.

_images/plugin_builder2.png

Fig. 6 Filling longer description text

In the next screen, set visual appearance of the plugin. We will use standard Tool button with dialog.

_images/plugin_builder3.png

Fig. 7 Choosing visual representation of new plugin

On the next step, we shell check all the metafiles, the builder will generate for us. We shall leave all checked.

_images/plugin_builder4.png

Fig. 8 Picking required metafiles

In the next step you need to fill important URLs. It is good to fill the URLs for later publications.

_images/plugin_builder5.png

Fig. 9 Filling required URLs

In the last step, we pick the location of the new created plugin. You can pick any location in your computer.

_images/plugin_builder7.png

Fig. 10 Filling required URLs

Final screen shows summary of the new plugin and QGIS environment settings as well as the next required steps.

_images/plugin_builder6.png

Fig. 11 Plugin summary

Important informations are:

  1. Location of the new created plugin
  2. Default location of all QGIS plugins
  3. Implementation file is called fiberplanitconvert.py
  4. GUI modification shall happen in Qt Designer using the fiberplanitconvert_dialog_base.ui file
  5. Next step is to use pb_tool for the plugin managemnt