mcsas.gui.scientrybox module

class SciEntryBox(parent=None)[source]

Bases: QLineEdit

fmt
indicateCorrectness(isValid)[source]

Warning

method ‘gui.scientrybox.SciEntryBox.indicateCorrectness’ undocumented

static numberFormat(decimals=None)[source]

Warning

method ‘gui.scientrybox.SciEntryBox.numberFormat’ undocumented

setMaximum(value)[source]

Work around issues regarding round-off errors by the ‘g’ format type when comparing numbers from user input with calculation results.

setMinimum(value)[source]

Work around issues regarding round-off errors by the ‘g’ format type when comparing numbers from user input with calculation results.

setPrefix(value)[source]

Warning

method ‘gui.scientrybox.SciEntryBox.setPrefix’ undocumented

setRange(lo, hi)[source]

Warning

method ‘gui.scientrybox.SciEntryBox.setRange’ undocumented

setValue(value)[source]

Warning

method ‘gui.scientrybox.SciEntryBox.setValue’ undocumented

toolTipFmt = 'A value between {lo} and {hi} (including).'
classmethod updateToolTip(widget, decimals=None)[source]

Warning

method ‘gui.scientrybox.SciEntryBox.updateToolTip’ undocumented

value()[source]

Warning

method ‘gui.scientrybox.SciEntryBox.value’ undocumented

class SciEntryValidator(parent=None)[source]

Bases: QDoubleValidator

Assumes the associated QLineEdit is provided as parent object in the constructor.

fixup(input)[source]

Restricts the value to the valid range defined by setTop() and setBottom(). Limits the precision as well.

validate(input, pos)[source]

Warning

method ‘gui.scientrybox.SciEntryValidator.validate’ undocumented