# ``prisma`.`prisma`.`Prisma``

class documentation

`class Prisma:`

View In Hierarchy

QGIS Plugin Implementation.

Method | `__init__` | Constructor.
Method | `add​_action` | Add a toolbar icon to the toolbar.
Method | `init​Gui` | Create the menu entries and toolbar icons inside the QGIS GUI.
Method | `run` | Run method that performs all the real work
Method | `tr` | Get the translation for a string using Qt translation API.
Method | `unload` | Removes the plugin menu item and icon from QGIS GUI.
Instance Variable | `actions` | Undocumented
Instance Variable | `first​_start` | Undocumented
Instance Variable | `iface` | Undocumented
Instance Variable | `menu` | Undocumented
Instance Variable | `plugin​_dir` | Undocumented
Instance Variable | `translator` | Undocumented

def __init__(self, iface):
def add_action(self, icon_path, text, callback, enabled_flag=True, add_to_menu=True, add_to_toolbar=True, status_tip=None, whats_this=None, parent=None):
def initGui(self):
Create the menu entries and toolbar icons inside the QGIS GUI.
def run(self):
Run method that performs all the real work
def tr(self, message):

Get the translation for a string using Qt translation API.

We implement this ourselves since we do not inherit QObject.

:param message: String for translation. :type message: str, QString

:returns: Translated version of message. :rtype: QString

def unload(self):
Removes the plugin menu item and icon from QGIS GUI.
actions: `list` =

Undocumented

first_start: `bool` =

Undocumented

iface =

Undocumented

menu =

Undocumented

plugin_dir =

Undocumented

translator =

Undocumented