hyperspyui.widgets.editorwidget module
Created on Sat Feb 21 17:55:01 2015
@author: Vidar Tonaas Fauske
- class hyperspyui.widgets.editorwidget.ConsoleCodeCalltipsMode(editor, *args, **kwargs)
Bases:
CalltipsMode
- _request_calltip(source, line, col, fn, encoding)
- class hyperspyui.widgets.editorwidget.ConsoleCodeCheckerMode(editor)
Bases:
CheckerMode
Runs pyflakes on you code while you’re typing
This checker mode runs pyflakes on the fly to check your python syntax.
Works the same as FrostedCheckerMode, except it is aware of HyperspyUI’s “globals”.
- _on_work_finished(results)
Display results.
- Parameters:
status – Response status
results – Response data, messages.
- _request()
Requests a checking of the editor content.
- class hyperspyui.widgets.editorwidget.EditorWidget(main_window, parent=None, path=None)
Bases:
ExToolWindow
- append_code(code)
- code_title = 'Code Editor'
- create_controls(path)
- property is_plugin
- load(filename)
- make_plugin()
- plugin_title = 'Plugin Editor'
- register_plugin()
- run()
- save()
- sizeHint(self) QSize
- class hyperspyui.widgets.editorwidget.NameCategoryPrompt(main_window, parent=None)
Bases:
ExToolWindow
- browse_icon()
- checks_changed()
- create_controls()
- hyperspyui.widgets.editorwidget.tr(text)