PlotSettingsDialog

class sofia_redux.pipeline.gui.qad.qad_dialogs.PlotSettingsDialog(parent=None, current=None, default=None)[source]

Bases: QDialog, Ui_PlotSettingsDialog

Retrieve user preferences for plot parameters.

Build the settings dialog.

Parameters:
parentQWidget, optional

Parent widget

currentdict, optional

Current plot parameter dictionary (QADImView.plot_parameters).

defaultdict, optional

Default plot parameter dictionary (QADImView.default_parameters).

Methods Summary

getValue()

Get current plot settings from widgets.

reset()

Reset values to initial settings.

restore()

Restore values from default settings.

setValue(fromdict)

Set widget values for plot settings.

Methods Documentation

getValue()[source]

Get current plot settings from widgets.

reset()[source]

Reset values to initial settings.

restore()[source]

Restore values from default settings.

setValue(fromdict)[source]

Set widget values for plot settings.

Parameters:
fromdictdict

Plot parameter dictionary (QADImView.plot_parameters).