QIntPropertySpinBox Class Reference

Inheritance diagram for QIntPropertySpinBox:

Inheritance graph
[legend]
Collaboration diagram for QIntPropertySpinBox:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 505 of file qpropertyeditor_items.cpp.

Public Member Functions

 QIntPropertySpinBox (QWidget *parent=0)
void stepBy (int steps)


Constructor & Destructor Documentation

QIntPropertySpinBox::QIntPropertySpinBox ( QWidget parent = 0  )  [inline]

Definition at line 508 of file qpropertyeditor_items.cpp.

00509         : QSpinBox(parent) { }


Member Function Documentation

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:


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 18:04:26 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1