Public Member Functions | |
def | __init__ (self, settings, application_context) |
def | import_perspective_from_file (self, path, perspective_name) |
def | save_settings_completed (self) |
def | set_menu (self, menu) |
def | set_perspective (self, name, hide_and_without_plugin_changes=False) |
def | switch_perspective (self, name, settings_changed=True, save_before=True, without_plugin_changes=False) |
Public Attributes | |
perspectives | |
Static Public Attributes | |
string | HIDDEN_PREFIX = '@' |
perspective_changed_signal = Signal(str) | |
restore_settings_signal = Signal(Settings, Settings) | |
restore_settings_without_plugin_changes_signal = Signal(Settings, Settings) | |
save_settings_signal = Signal(Settings, Settings) | |
Private Member Functions | |
def | _add_perspective_action (self, name) |
def | _choose_new_perspective_name (self, show_cloning=True) |
def | _convert_values (self, data, convert_function) |
def | _create_perspective (self, name, clone_perspective=True) |
def | _create_perspective_continued (self, name, clone_perspective) |
def | _export_value (self, value) |
def | _get_dict_from_settings (self, settings) |
def | _get_perspective_settings (self, perspective_name) |
def | _import_value (self, value) |
def | _on_create_perspective (self) |
def | _on_export_perspective (self) |
def | _on_export_perspective_continued (self, file_name) |
def | _on_import_perspective (self) |
def | _on_remove_perspective (self) |
def | _remove_perspective (self, name) |
def | _set_dict_on_settings (self, data, settings) |
def | _strip_qt_binding_prefix (self, obj, data) |
def | _switch_perspective (self, name, settings_changed, save_before, without_plugin_changes=False) |
Manager for perspectives associated with specific sets of `Settings`.
Definition at line 52 of file perspective_manager.py.
def qt_gui.perspective_manager.PerspectiveManager.__init__ | ( | self, | |
settings, | |||
application_context | |||
) |
Definition at line 62 of file perspective_manager.py.
|
private |
Definition at line 285 of file perspective_manager.py.
|
private |
Definition at line 201 of file perspective_manager.py.
|
private |
Definition at line 417 of file perspective_manager.py.
|
private |
Definition at line 252 of file perspective_manager.py.
|
private |
Definition at line 272 of file perspective_manager.py.
|
private |
Definition at line 434 of file perspective_manager.py.
|
private |
Convert data of Settings instance to dictionary.
Definition at line 406 of file perspective_manager.py.
|
private |
Definition at line 190 of file perspective_manager.py.
|
private |
Definition at line 425 of file perspective_manager.py.
|
private |
Definition at line 193 of file perspective_manager.py.
|
private |
Definition at line 378 of file perspective_manager.py.
|
private |
Definition at line 396 of file perspective_manager.py.
|
private |
Definition at line 332 of file perspective_manager.py.
|
private |
Definition at line 299 of file perspective_manager.py.
|
private |
Definition at line 312 of file perspective_manager.py.
|
private |
Set dictionary key-value pairs on Settings instance.
Definition at line 368 of file perspective_manager.py.
|
private |
Strip binding specific prefix from type string.
Definition at line 469 of file perspective_manager.py.
|
private |
Definition at line 150 of file perspective_manager.py.
def qt_gui.perspective_manager.PerspectiveManager.import_perspective_from_file | ( | self, | |
path, | |||
perspective_name | |||
) |
Definition at line 350 of file perspective_manager.py.
def qt_gui.perspective_manager.PerspectiveManager.save_settings_completed | ( | self | ) |
Definition at line 182 of file perspective_manager.py.
def qt_gui.perspective_manager.PerspectiveManager.set_menu | ( | self, | |
menu | |||
) |
Definition at line 93 of file perspective_manager.py.
def qt_gui.perspective_manager.PerspectiveManager.set_perspective | ( | self, | |
name, | |||
hide_and_without_plugin_changes = False |
|||
) |
Definition at line 127 of file perspective_manager.py.
def qt_gui.perspective_manager.PerspectiveManager.switch_perspective | ( | self, | |
name, | |||
settings_changed = True , |
|||
save_before = True , |
|||
without_plugin_changes = False |
|||
) |
Definition at line 139 of file perspective_manager.py.
|
private |
Definition at line 84 of file perspective_manager.py.
|
private |
Definition at line 85 of file perspective_manager.py.
|
private |
Definition at line 71 of file perspective_manager.py.
|
private |
Definition at line 81 of file perspective_manager.py.
|
private |
Definition at line 91 of file perspective_manager.py.
|
private |
Definition at line 87 of file perspective_manager.py.
|
private |
Definition at line 69 of file perspective_manager.py.
|
private |
Definition at line 73 of file perspective_manager.py.
|
private |
Definition at line 74 of file perspective_manager.py.
|
private |
Definition at line 70 of file perspective_manager.py.
|
private |
Definition at line 66 of file perspective_manager.py.
|
private |
Definition at line 82 of file perspective_manager.py.
|
private |
Definition at line 68 of file perspective_manager.py.
|
static |
Definition at line 60 of file perspective_manager.py.
|
static |
Definition at line 55 of file perspective_manager.py.
qt_gui.perspective_manager.PerspectiveManager.perspectives |
Definition at line 77 of file perspective_manager.py.
|
static |
Definition at line 57 of file perspective_manager.py.
|
static |
Definition at line 58 of file perspective_manager.py.
|
static |
Definition at line 56 of file perspective_manager.py.