PipeStep¶
- class sofia_redux.pipeline.gui.widgets.PipeStep(parent=None, stepname=None, index=0)[source]¶
Bases:
QWidget
,Ui_Form
Reduction step widget.
Includes a Run and Edit button for the step.
Build the widget.
- Parameters:
- parentQWidget, optional
Parent widget.
- stepnamestr, optional
Reduction step name to display.
- indexint, optional
Reduction step index.
Methods Summary
connectEdit
(slot)Connect Edit button to callback.
connectRun
(slot)Connect Run button to callback.
enableEdit
([enable])Enable the Edit button.
enableRun
([enable])Enable the Run button.
Methods Documentation
- connectEdit(slot)[source]¶
Connect Edit button to callback.
- Parameters:
- slotfunction
The
onEdit
function from the main application. Must accept the step index as an argument.
- connectRun(slot)[source]¶
Connect Run button to callback.
- Parameters:
- slotfunction
The
onRun
function from the main application. Must accept the step index as an argument.