

Definition at line 505 of file qpropertyeditor_items.cpp.
Public Member Functions | |
| QIntPropertySpinBox (QWidget *parent=0) | |
| void | stepBy (int steps) |
| QIntPropertySpinBox::QIntPropertySpinBox | ( | QWidget * | parent = 0 |
) | [inline] |
| void QIntPropertySpinBox::stepBy | ( | int | steps | ) | [inline, virtual] |
Virtual function that is called whenever the user triggers a step. The steps parameter indicates how many steps were taken, e.g. Pressing Qt::Key_Down will trigger a call to stepBy(-1), whereas pressing Qt::Key_Prior will trigger a call to stepBy(10).
If you subclass QAbstractSpinBox you must reimplement this function. Note that this function is called even if the resulting value will be outside the bounds of minimum and maximum. It's this function's job to handle these situations.
Reimplemented from QAbstractSpinBox.
Definition at line 511 of file qpropertyeditor_items.cpp.
References emit, and QAbstractSpinBox::stepBy().
00512 { 00513 QSpinBox::stepBy(steps); 00514 emit editingFinished(); 00515 }
Here is the call graph for this function:

1.5.1