PyPO User Manual
GUI.ParameterForms.formGenerator.DynamicRadioWidget Class Reference

Dynamic radio button. More...

Inheritance diagram for GUI.ParameterForms.formGenerator.DynamicRadioWidget:

Public Member Functions

def __init__ (self, inp)
 Constructor. More...
 
def makeChildren (self)
 Creates the nested forms.
 
def modeUpdate (self, index)
 Updates the dynamic widget according to users selection. More...
 
def clear (self)
 Clears all inputs of the form.
 
def read (self)
 Reads the inputs. More...
 

Public Attributes

 inputDescription
 
 layout
 
 hasChildren
 
 mode
 
 children
 
 stackedWidget
 
 currentChild
 

Detailed Description

Dynamic radio button.

radio button group followed by a dynamic section that changes depending on users selection in the dropdown.

Constructor & Destructor Documentation

◆ __init__()

def GUI.ParameterForms.formGenerator.DynamicRadioWidget.__init__ (   self,
  inp 
)

Constructor.

Creates the form section.

Parameters
inpInputDescription object received from formData.

Member Function Documentation

◆ modeUpdate()

def GUI.ParameterForms.formGenerator.DynamicRadioWidget.modeUpdate (   self,
  index 
)

Updates the dynamic widget according to users selection.

Parameters
indexIndex of the option.

◆ read()

def GUI.ParameterForms.formGenerator.DynamicRadioWidget.read (   self)

Reads the inputs.

Returns
A dictionary containing the values read from the inputs.

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