hyperspyui.plugincreator module

Created on Sat Feb 21 12:04:06 2015

@author: Vidar Tonaas Fauske

hyperspyui.plugincreator.create_plugin_code(code, name, category=None, menu=False, toolbar=False, icon=None)

Create a plugin with an action that will execute ‘code’ when triggered. If ‘menu’ and/or ‘toolbar’ is True, the corresponding items will be added for the action.

hyperspyui.plugincreator.create_plugin_file(code, name, category=None, menu=False, toolbar=False, filename=None)

Create a plugin with an action that will execute ‘code’ when triggered. If ‘menu’ and/or ‘toolbar’ is True, the corresponding items will be added for the action.

hyperspyui.plugincreator.indent(lines, amount, ch=' ')
hyperspyui.plugincreator.suggest_plugin_filename(name)