tomwer.gui.reconstruction.nabu.nabuflow.NabuFlowControl#
- class tomwer.gui.reconstruction.nabu.nabuflow.NabuFlowControl(parent, direction)#
Widget which is composed of three FlowCanvas: one for pre processing (where dockers are not movable), one for processing (where dockers are movable) and one for post-processing (where dockers are not movable)
- getFlow()#
- Returns:
Return the concatenation of pre processing, processing and post processing
- Return type:
dict. keys are nabu stage, values are list of flow for each stage.
- getIniProcessingFlow()#
- Return type:
list
- Returns:
list of initialization processes
- getPostProcessingFlow()#
- Returns:
list of postprocessing
- getPreProcessingFlow()#
- Returns:
list of preprocessing
- getProcessFocused()#
- Returns:
the process under focus
- Return type:
tuple (stage or None, None or process_id (str or class))
- getProcessingFlow()#
- Returns:
list of processing
- setIniProcessing(processes, icons)#
Defines the processing to execute for initialization
- Parameters:
processes (Iterable) – processes to display
icons (Iterable) – icons associated to the processes if any
- setIniprocVisible(visible)#
change visibility of the widgets relative to initialization process
- Parameters:
visible (bool) –
- setPhaseProcessing(processes, icons)#
- Parameters:
processes (Iterable) – processes to display
icons (Iterable) – icons associated to the processes if any
- setPhaseVisible(visible)#
change visibility of the widgets relative to pre processing process
- Parameters:
visible (bool) –
- setPostProcessing(processes, icons)#
- Parameters:
processes (Iterable) – processes to display
icons (Iterable) – icons associated to the processes if any
- setPostVisible(visible)#
change visibility of the widgets relative to post processing process
- Parameters:
visible (bool) –
- setPreProcVisible(visible)#
change visibility of the widgets relative to pre processing process
- Parameters:
visible (bool) –
- setPreProcessing(processes, icons)#
- Parameters:
processes (Iterable) – processes to display
icons (Iterable) – icons associated to the processes if any
- setProcVisible(visible)#
change visibility of the widgets relative to processing process
- Parameters:
visible (bool) –
- setProcessing(processes, icons)#
- Parameters:
processes (Iterable) – processes to display
icons (Iterable) – icons associated to the processes if any
- sigConfigurationChanged#
signal emitted when the focus process on the flow is changed. tuple is (stage, option)
- sigResetConfiguration#
Signal emitted when the configuration should be reset