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 (Union[int,None]) – number of required slice we expect the user to select

exec_(self) int#
getSelection()#
Returns:

the selection of slices to use

Return type:

tuple

nRequiredSlice()#
Return type:

Optional[int]

setSelection(selection)#
Parameters:

rows – define the selection