PhotSettingsDialog

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

Bases: QDialog, Ui_PhotometryDialog

Retrieve user preferences for photometry parameters.

Build the settings dialog.

Parameters:
parentQWidget, optional

Parent widget

currentdict, optional

Current photometry parameter dictionary (QADImView.phot_parameters).

defaultdict, optional

Default photometry parameter dictionary (QADImView.default_parameters).

Methods Summary

getValue()

Get current photometry settings from widgets.

reset()

Reset values to initial settings.

restore()

Restore values from default settings.

setValue(fromdict)

Set widget values for photometry settings.

Methods Documentation

getValue()[source]

Get current photometry settings from widgets.

reset()[source]

Reset values to initial settings.

restore()[source]

Restore values from default settings.

setValue(fromdict)[source]

Set widget values for photometry settings.

Parameters:
fromdictdict

Photometry parameter dictionary (QADImView.phot_parameters).