Skip to content

QLargeIntSpinBox#

QSpinBox variant that allows to enter large integers, without overflow.

from qtpy.QtCore import Qt
from qtpy.QtWidgets import QApplication

from superqt import QLargeIntSpinBox

app = QApplication([])

slider = QLargeIntSpinBox()
slider.setRange(0, 4.53e8)
slider.setValue(4.53e8)
slider.show()

app.exec_()

QLargeIntSpinBox

Qt Class#

QAbstractSpinBox

Signals#

textChanged#

valueChanged#

Methods#

An integer spinboxes backed by unbound python integer.

Qt's built-in QSpinBox is backed by a signed 32-bit integer. This could become limiting, particularly in large dense segmentations. This class behaves like a QSpinBox backed by an unbound python int.

Does not yet support "prefix", "suffix" or "specialValue" like QSpinBox.

maximum() #

minimum() #

setMaximum(max) #

setMinimum(min) #

setRange(minimum, maximum) #

setSingleStep(step) #

setStepType(stepType: QAbstractSpinBox.StepType) -> None #

setValue(value) #

singleStep() #

stepType() -> QAbstractSpinBox.StepType #

value() #