Welcome to scientific-spinbox’s documentation!¶
ScientificSpinbox is a Qt5 Widget based on QDoubleSpinBox that enables users to insert and manipulate physical quantities naturally.
Example of a ScientificSpinBox with base_unit='ms' and allowed_units=['s','ms','us'].¶
Contents:
- Guides
- Tutorials
- API Reference
- scientific_spinbox.backend
- scientific_spinbox.errors
- scientific_spinbox.defaults
- scientific_spinbox.validators
- scientific_spinbox.widget
- ScientificSpinBox
- Parameters
- addSeparators
- blockSignals
- cleanText
- clearErrorColor
- clearToolTip
- convertInternalToText
- correctCursorPosition
- correctDecimals
- debugBaseQuantityChanged
- debugBaseValueChanged
- debugDecimalsChanged
- debugDisplayUnitChanged
- debugEditingFinished
- debugLineEditTextChanged
- debugScientificSpinboxTextChanged
- debugValueChanged
- decimals
- defaultConversor
- displayUnitConversor
- emptyUnitEvent
- getNumberToChange
- getNumericText
- handleArgs
- incompatibleUnitEvent
- invalidUnitEvent
- keepCursorPosition
- keyPressEvent
- nearestPreferredUnitConversor
- numericSignalChange
- onEditingFinished
- removeSeparators
- removeThousandSeparators
- scientificToDecimal
- setBaseValue
- setDecimals
- setDisplayUnit
- setErrorColor
- setValue
- setupWidget
- showTooltip
- signalsBlocked
- stepBy
- suffix
- text
- textFromValue
- unitNotAllowedEvent
- unitNotEmptyEvent
- validate
- valueFromText
- backend
- baseQuantity
- baseQuantityChanged
- baseUnit
- baseValue
- baseValueChanged
- decimalsChanged
- defaultDecimals
- displayUnitChanged
- quantity
- unit
- value
- ScientificSpinBox