Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

QStyleOptionSpinBox Class Reference

The QStyleOptionSpinBox class is used to describe the parameters necessary for drawing a spin box. More...

#include <QStyleOptionSpinBox>

Inherits QStyleOptionComplex.

List of all members.

Read-Only Properties

Public Functions


Detailed Description

The QStyleOptionSpinBox class is used to describe the parameters necessary for drawing a spin box.

The QStyleOptionSpinBox is used for drawing a QSpinBox and QDateTimeEdit.


Property Documentation

buttonSymbols : QAbstractSpinBox::ButtonSymbols

This property holds the type of button symbols to draw for the spin box.

See also QAbstractSpinBox::ButtonSymbols.

percentage : double

This property holds the percentage of the spin box.

The quotient of the current value divided by the and maximum value.

slider : bool

This property holds indicates whether the optional slider indicator should be drawn.

stepEnabled : QAbstractSpinBox::StepEnabled

This property holds indicates which buttons of the spin box are enabled.

See also QAbstractSpinBox::StepEnabled.


Member Function Documentation

QStyleOptionSpinBox::QStyleOptionSpinBox ( int version )

Construct a QStyleOptionSpinBox with version version.

The values of the structure are set to zero. It is the Developer's responsiblity to set them to proper values.


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp1