Creating the plugin template with Plugin Builder

The Plugin Builder plugin will create a template that will hold all the files that we need for our plugin. To create a plugin template, follow these steps:

  1. Start Plugin Builder and input the basic plugin information, including the following:
    • Class name (one word in camel case. This means that each word starts with an upper case letter.)
    • Plugin name (a short description.)
    • Module name (the Python module name for the plugin.)

When your mouse hovers over the input fields in the Plugin Builder dialog, it displays help information, as shown in the following screenshot:

QGIS Plugin Builder

Get Learn QGIS - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.