tomwer.gui.utils.lineselector.lineselector.QSliceSelectorDialog#
- class tomwer.gui.utils.lineselector.lineselector.QSliceSelectorDialog(parent, n_required_slice=None)#
The dialog used to select some slice indexes from a radio
- Parameters:
parent (QWidget) – parent widget
n_required_slice (int | None) – number of required slice we expect the user to select
- exec_(self) int #
- getSelection()#
- Return type:
tuple
- Returns:
the selection of slices to use
- nRequiredSlice()#
- Return type:
int | None
- setSelection(selection)#
- Parameters:
rows – define the selection