Potku  1.0.0
Class Documentation
 All Classes Namespaces Functions
Modules.DepthProfileSettings.DepthProfileSettings Class Reference

Public Member Functions

def __init__
 
def show
 
def set_settings
 
def load_settings
 
def save_settings
 

Public Attributes

 depth_profile_settings_filename
 
 config
 
 use_settings
 
 depth_step_for_stopping
 
 depth_step_for_output
 
 depths_for_concentration_from
 
 depths_for_concentration_to
 
 filepath
 

Detailed Description

DepthProfileSettings holds the all project specific measurement unit parameters.

Constructor & Destructor Documentation

def Modules.DepthProfileSettings.DepthProfileSettings.__init__ (   self,
  settings_filepath = None 
)
Inits DepthProfileSettings.

Args:
    settings_filepath: filepath for the settings file to be loaded

Member Function Documentation

def Modules.DepthProfileSettings.DepthProfileSettings.load_settings (   self,
  filepath 
)
Loads settings' parameters from the given filepath.

Args:
    filepath: Filepath to the settings file.
def Modules.DepthProfileSettings.DepthProfileSettings.save_settings (   self,
  filepath = None 
)
Saves settings' parameters to the given filepath.

Args:
    filepath: Filepath to the settings file.
def Modules.DepthProfileSettings.DepthProfileSettings.set_settings (   self,
  dialog,
  used_settings = None 
)
Takes inputted parameters from the given dialog and sets them to the 
corresponding object's parameters

Args:
    dialog: QDialog from which the parameters are taken.
def Modules.DepthProfileSettings.DepthProfileSettings.show (   self,
  dialog 
)
Shows the measuring parameters in the given measuring settings dialog.

Args:
    dialog: QDialog whose fields are updated with the depth profile 
    parameters.

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