catalight.analysis.user_inputs.PlotOptionsDialog

class catalight.analysis.user_inputs.PlotOptionsDialog(*args: Any, **kwargs: Any)

Bases: QDialog

Dynamic dialog window displaying options based on input parameters.

Supply an instance of PlotOptionList with .include attr turned on for the desired GUI elements. When the user presses ok, the PlotOptionList instance will have its values updated based on the GUI values provided.

Parameters:

plot_options (PlotOptionList) – Instance of PlotOptionList for which the Option.include attr has been updated to True for all desired GUI elements.

__init__(plot_options)

Methods

__init__(plot_options)

accept()

Update Option.field.value for all GUI components included in instance.

accept()

Update Option.field.value for all GUI components included in instance.

Return type:

None.