Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
qt_gui.main_window.MainWindow Class Reference
Inheritance diagram for qt_gui.main_window.MainWindow:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def closeEvent (self, event)
 
def perspective_changed (self, name)
 
def restore_settings (self, global_settings, perspective_settings)
 
def restore_state (self)
 
def save_settings (self, global_settings, perspective_settings)
 
def save_setup (self)
 
- Public Member Functions inherited from qt_gui.dockable_main_window.DockableMainWindow
def __init__ (self, parent=None)
 

Static Public Attributes

 save_settings_before_close_signal = Signal(Settings, Settings)
 

Private Member Functions

def _restore_geometry_from_perspective (self)
 
def _restore_state_from_perspective (self)
 
def _save_geometry_to_perspective (self)
 
def _save_state_to_perspective (self)
 

Private Attributes

 _global_settings
 
 _perspective_settings
 
 _save_on_close_signaled
 
 _settings
 

Detailed Description

Main window of the application managing the geometry and state of all top-level widgets.

Definition at line 38 of file main_window.py.

Constructor & Destructor Documentation

◆ __init__()

def qt_gui.main_window.MainWindow.__init__ (   self)

Definition at line 43 of file main_window.py.

Member Function Documentation

◆ _restore_geometry_from_perspective()

def qt_gui.main_window.MainWindow._restore_geometry_from_perspective (   self)
private

Definition at line 107 of file main_window.py.

◆ _restore_state_from_perspective()

def qt_gui.main_window.MainWindow._restore_state_from_perspective (   self)
private

Definition at line 124 of file main_window.py.

◆ _save_geometry_to_perspective()

def qt_gui.main_window.MainWindow._save_geometry_to_perspective (   self)
private

Definition at line 96 of file main_window.py.

◆ _save_state_to_perspective()

def qt_gui.main_window.MainWindow._save_state_to_perspective (   self)
private

Definition at line 111 of file main_window.py.

◆ closeEvent()

def qt_gui.main_window.MainWindow.closeEvent (   self,
  event 
)

Definition at line 52 of file main_window.py.

◆ perspective_changed()

def qt_gui.main_window.MainWindow.perspective_changed (   self,
  name 
)

Definition at line 93 of file main_window.py.

◆ restore_settings()

def qt_gui.main_window.MainWindow.restore_settings (   self,
  global_settings,
  perspective_settings 
)

Definition at line 73 of file main_window.py.

◆ restore_state()

def qt_gui.main_window.MainWindow.restore_state (   self)

Definition at line 88 of file main_window.py.

◆ save_settings()

def qt_gui.main_window.MainWindow.save_settings (   self,
  global_settings,
  perspective_settings 
)

Definition at line 64 of file main_window.py.

◆ save_setup()

def qt_gui.main_window.MainWindow.save_setup (   self)

Definition at line 82 of file main_window.py.

Member Data Documentation

◆ _global_settings

qt_gui.main_window.MainWindow._global_settings
private

Definition at line 48 of file main_window.py.

◆ _perspective_settings

qt_gui.main_window.MainWindow._perspective_settings
private

Definition at line 49 of file main_window.py.

◆ _save_on_close_signaled

qt_gui.main_window.MainWindow._save_on_close_signaled
private

Definition at line 47 of file main_window.py.

◆ _settings

qt_gui.main_window.MainWindow._settings
private

Definition at line 50 of file main_window.py.

◆ save_settings_before_close_signal

qt_gui.main_window.MainWindow.save_settings_before_close_signal = Signal(Settings, Settings)
static

Definition at line 41 of file main_window.py.


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


qt_gui
Author(s): Dirk Thomas
autogenerated on Fri Jun 24 2022 02:42:37