Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

src_gui_widgets_qabstractspinbox.cpp

//! [0]
QSpinBox *spinBox = new QSpinBox(this);
spinBox->setRange(0, 100);
spinBox->setWrapping(true);
spinBox->setValue(100);
spinBox->stepBy(1);
// value is 0
//! [0]

Generated by  Doxygen 1.6.0   Back to index