Belle II Software  release-08-01-10
ModuleViewer Class Reference
Inheritance diagram for ModuleViewer:
Collaboration diagram for ModuleViewer:

Public Member Functions

def __init__ (self, module, standalone=True)
 
def get_color_code (self, param)
 
def create (self)
 
def show (self)
 

Public Attributes

 module
 The module to show.
 
 standalone
 In the standalone mode, the basic parameters of the modules are shown.
 
 table_beginning_html
 Template for the table beginning.
 
 td_html
 Template for the table cell.
 
 table_row_parameters
 Template for the row of parameters.
 
 table_row_help
 Template for the row with help.
 
 table_row_html_single
 Template for the simple row.
 
 table_title_html
 Template for the table title.
 

Detailed Description

A widget for showing module parameter with their content (not standalone)
or with their description (standalone).

Definition at line 85 of file viewer.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  module,
  standalone = True 
)
 Init with a module as a string or a registered one. 

Definition at line 91 of file viewer.py.

Member Function Documentation

◆ create()

def create (   self)
Show the widget.

Reimplemented from IPythonWidget.

Definition at line 141 of file viewer.py.

◆ get_color_code()

def get_color_code (   self,
  param 
)
 Handy function for getting a color based on a parameter:
 if it has the default value, no color,
 if not, red color.

Definition at line 129 of file viewer.py.

◆ show()

def show (   self)
inherited
Show the widget

Reimplemented in ProgressBarViewer.

Definition at line 31 of file viewer.py.


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