1 2 3 4 5 6 7 8
//! [0] spinBox = QSpinBox(self) spinBox.setRange(0, 100) spinBox.setWrapping(True) spinBox.setValue(100) spinBox.stepBy(1) // value is 0 //! [0]