tomwer.gui.utils.inputwidget.SelectionLineEdit#

class tomwer.gui.utils.inputwidget.SelectionLineEdit(text=None, parent=None, allow_negative_indices=False)#

Line edit with several type of selection possible:

  • a single value

  • a range of value on the type min:max:step

  • a list of value: val1, val2, …

LIST_MODE = 'list'#
RANGE_MODE = 'range'#
SELECTION_MODES = ('range', 'list')#
getMode()#
property selection#