tomwer.gui.reconstruction.axis.EstimatedCorComboBox.EstimatedCorComboBox#
- class tomwer.gui.reconstruction.axis.EstimatedCorComboBox.EstimatedCorComboBox(parent=None)#
Combobox that display the sides available according to the cor algorithm (left, right, center, all) and a dedicated item for cor given manually.
This combobox is also editable and and make sure the ‘estimated cor’ item is up to date according to the QCombobox current value
- ESTIMATED_COR_ITEM_DATA = 'estimated_cor'#
- getCurrentCorValue()#
- Return type:
Side | float
Return all sides currently hidden
- selectFirstGuess()#
- setCurrentCorValue(value)#
- setFirstGuessAvailable(available)#
For some method (only growing window at the moment) a first guess (estimated cor as a float) cannot be given
- setSidesVisible(sides)#
Set side to be visible to the user
- sigEstimatedCorChanged#
Emit when the estimated cor changed. Value can be a float (cor value) or a Side