Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

QStyleOptionSpinBox Class Reference
[QtGui module]

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

#include <QStyleOptionSpinBox>

Inherits QStyleOptionComplex.

Public Functions

Public Variables

Static Public Members


Detailed Description

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

The QStyleOptionSpinBox is used for drawing QSpinBox and QDateTimeEdit.


Member Function Documentation

QStyleOptionSpinBox::QStyleOptionSpinBox ()

Constructs a QStyleOptionSpinBox. The members variables are initialized to default values.

QStyleOptionSpinBox::QStyleOptionSpinBox ( const QStyleOptionSpinBox & other )

Constructs a copy of the other style option.


Member Variable Documentation

const int QStyleOptionSpinBox::Type

Equals SO_SpinBox.

const int QStyleOptionSpinBox::Version

Equals 1.

QAbstractSpinBox::ButtonSymbols QStyleOptionSpinBox::buttonSymbols

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

See also QAbstractSpinBox::ButtonSymbols.

bool QStyleOptionSpinBox::frame

This variable holds indicates whether whether the spin box has a frame.

QAbstractSpinBox::StepEnabled QStyleOptionSpinBox::stepEnabled

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

See also QAbstractSpinBox::StepEnabled.


Copyright © 2006 Trolltech Trademarks
Qt 4.1.3