Potku  1.0.0
Class Documentation
 All Classes Namespaces Functions
Widgets.TofeHistogramWidget.TofeHistogramWidget Class Reference

Inherits QWidget.

Public Member Functions

def __init__
 
def set_cut_button_enabled
 

Public Attributes

 ui
 
 matplotlib
 
 measurement
 

Detailed Description

HistogramWidget

Used to draw ToF-E Histograms

Constructor & Destructor Documentation

def Widgets.TofeHistogramWidget.TofeHistogramWidget.__init__ (   self,
  measurement,
  icon_manager 
)
Inits TofeHistogramWidget widget.

Args:
    measurement: Measurement class object.
    icon_manager: IconManager class object.

Member Function Documentation

def Widgets.TofeHistogramWidget.TofeHistogramWidget.set_cut_button_enabled (   self,
  selections = None 
)
Enables save cuts button if the given selections list's lenght is not 0.
Otherwise disable.

Args:
    selections: list of Selection objects

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