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

Public Member Functions

def __init__
 
def show
 
def set_settings
 
def load_settings
 
def save_settings
 

Public Attributes

 calibration_settings_filename
 
 config
 
 use_settings
 
 slope
 
 offset
 
 filepath
 

Detailed Description

MeasuringSettings holds the all project specific measurement unit parameters.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

Args:
    filepath: Filepath to the settings file.
def Modules.CalibrationParameters.CalibrationParameters.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.CalibrationParameters.CalibrationParameters.show (   self,
  dialog 
)
Shows the measuring parameters in the given measuring settings dialog.

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

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