Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes
qt_gui.perspective_manager.PerspectiveManager Class Reference
Inheritance diagram for qt_gui.perspective_manager.PerspectiveManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def import_perspective_from_file
def save_settings_completed
def set_menu
def set_perspective
def switch_perspective

Public Attributes

 perspectives

Static Public Attributes

string HIDDEN_PREFIX = '@'
tuple perspective_changed_signal = Signal(basestring)
tuple restore_settings_signal = Signal(Settings, Settings)
tuple restore_settings_without_plugin_changes_signal = Signal(Settings, Settings)
tuple save_settings_signal = Signal(Settings, Settings)

Private Member Functions

def _add_perspective_action
def _choose_new_perspective_name
def _convert_values
def _create_perspective
def _create_perspective_continued
def _export_value
def _get_dict_from_settings
def _get_perspective_settings
def _import_value
def _on_create_perspective
def _on_export_perspective
def _on_export_perspective_continued
def _on_import_perspective
def _on_remove_perspective
def _remove_perspective
def _set_dict_on_settings
def _strip_qt_binding_prefix
def _switch_perspective

Private Attributes

 _callback
 _callback_args
 _create_perspective_dialog
 _current_perspective
 _dbus_server
 _global_settings
 _menu_manager
 _perspective_mapper
 _perspective_settings
 _qtgui_path
 _remove_action
 _settings_proxy

Detailed Description

Manager for perspectives associated with specific sets of `Settings`.

Definition at line 43 of file perspective_manager.py.


Constructor & Destructor Documentation

def qt_gui.perspective_manager.PerspectiveManager.__init__ (   self,
  settings,
  application_context 
)

Definition at line 54 of file perspective_manager.py.


Member Function Documentation

Definition at line 257 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._choose_new_perspective_name (   self,
  show_cloning = True 
) [private]

Definition at line 183 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._convert_values (   self,
  data,
  convert_function 
) [private]

Definition at line 376 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._create_perspective (   self,
  name,
  clone_perspective = True 
) [private]

Definition at line 225 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._create_perspective_continued (   self,
  name,
  clone_perspective 
) [private]

Definition at line 244 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._export_value (   self,
  value 
) [private]

Definition at line 392 of file perspective_manager.py.

Convert data of Settings instance to dictionary.

Definition at line 365 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._get_perspective_settings (   self,
  perspective_name 
) [private]

Definition at line 173 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._import_value (   self,
  value 
) [private]

Definition at line 384 of file perspective_manager.py.

Definition at line 176 of file perspective_manager.py.

Definition at line 345 of file perspective_manager.py.

Definition at line 355 of file perspective_manager.py.

Definition at line 302 of file perspective_manager.py.

Definition at line 271 of file perspective_manager.py.

Definition at line 282 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._set_dict_on_settings (   self,
  data,
  settings 
) [private]
Set dictionary key-value pairs on Settings instance.

Definition at line 335 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._strip_qt_binding_prefix (   self,
  obj,
  data 
) [private]
Strip binding specific prefix from type string.

Definition at line 421 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager._switch_perspective (   self,
  name,
  settings_changed,
  save_before,
  without_plugin_changes = False 
) [private]

Definition at line 135 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager.import_perspective_from_file (   self,
  path,
  perspective_name 
)

Definition at line 318 of file perspective_manager.py.

Definition at line 165 of file perspective_manager.py.

Definition at line 83 of file perspective_manager.py.

def qt_gui.perspective_manager.PerspectiveManager.set_perspective (   self,
  name,
  hide_and_without_plugin_changes = False 
)

Definition at line 117 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 127 of file perspective_manager.py.


Member Data Documentation

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 52 of file perspective_manager.py.

Definition at line 47 of file perspective_manager.py.

Definition at line 54 of file perspective_manager.py.

Definition at line 49 of file perspective_manager.py.

Definition at line 50 of file perspective_manager.py.

tuple qt_gui::perspective_manager.PerspectiveManager::save_settings_signal = Signal(Settings, Settings) [static]

Definition at line 48 of file perspective_manager.py.


The documentation for this class was generated from the following file:


qt_gui
Author(s): Dirk Thomas
autogenerated on Thu Jun 6 2019 18:07:34