TaurusBaseEditor

Inheritance diagram of TaurusBaseEditor
class TaurusBaseEditor(parent=None)[source]

Bases: PyQt4.QtGui.QSplitter

clone_editorstack(editorstack)[source]
closeEvent(event)[source]
close_file_in_all_editorstacks(editorstack_id_str, index)[source]
createMenuActions()[source]

Returns a list of menu actions and a list of IO actions. Reimplement in derived classes. This Base (dummy) implementation creates empty menu actions and a list of 5 dummy actions for the IO actions

create_new_window()[source]
editorStack()[source]
get_focus_widget()[source]
go_to_file(fname, lineno, text)[source]
is_file_opened(filename=None)[source]

Dummy implementation that always returns None. Reimplement in derived classes to return the index of already-open files in the editor_stack, or None if the file is not already open.

load(filename, goto=None)[source]
refresh_save_all_action()[source]
register_editorstack(editorstack)[source]
register_editorwindow(window)[source]
register_widget_shortcuts(widget)[source]

Fake!

reload(idx=None, filename=None, goto=None)[source]
set_current_filename(filename)[source]
setup_window(toolbar_list, menu_list)[source]
unregister_editorstack(editorstack)[source]
unregister_editorwindow(window)[source]