DispSettingsDialog

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

Bases: QDialog, Ui_DisplayDialog

Retrieve user preferences for display parameters.

Build the settings dialog.

Parameters:
parentQWidget, optional

Parent widget

currentdict, optional

Current display parameter dictionary (QADImView.disp_parameters).

defaultdict, optional

Default display parameter dictionary (QADImView.default_parameters).

Methods Summary

getValue()

Get current display settings from widgets.

reset()

Reset values to initial settings.

restore()

Restore values from default settings.

setValue(fromdict)

Set widget values for display settings.

Methods Documentation

getValue()[source]

Get current display settings from widgets.

reset()[source]

Reset values to initial settings.

restore()[source]

Restore values from default settings.

setValue(fromdict)[source]

Set widget values for display settings.

Parameters:
fromdictdict

Display parameter dictionary (QADImView.disp_parameters).