Graphics Reference
In-Depth Information
Filename
Used for
This is a copy of the GNU General Public License ( GPL ). Since the Zoom to Point plugin is generally avail-
able, this defines the license under which it can be used.
COPYING
icon.png
As the name suggests, this is the plugin's toolbar icon.
Makefile
This is a standard *nix Makefile used to automate the process of compiling and deploying the plugin.
This file contains the plugin's metadata, including the full name of the plugin, a description, the current ver-
sion number, and so on.
metadata.txt
resources.qrc
This is a Qt resource file that defines the various resources such as images and sound files used by the plugin.
This indicates the contents of the resources.qrc file, compiled into a Python module.
resources.py
ui_zoomtopoint.ui
This is a Qt user interface template that defines the main UI for the plugin.
ui_zoomtopoint.py
This indicates the contents of the ui_zoomtopoint.ui file compiled into a Python module.
zoomtopoint.py
This file contains the main Python code for the plugin.
zoomtopointdialog.ui This is a copy of the ui_zoomtopoint.ui file. It looks like this file was included by accident, as the plu-
gin can run without it.
zoomtopointdialog.py This Python module defines a QtGui.QDialog subclass that loads the dialog box's contents from
ui_zoomtopoint.py .
Open the zoomtopoint.py module in your favorite text editor. As you can see, this
contains the main Python code for the plugin, in the form of a ZoomToPoint class. This
class has the following basic structure:
class ZoomToPoint:
def __init__(self, iface):
self.iface = iface
def initGui(self):
...
Search WWH ::




Custom Search