Home · Overviews · Examples 

QStyleOptionSlider Class Reference
[com.trolltech.qt.gui module]

The QStyleOptionSlider class is used to describe the parameters needed for drawing a slider. More...

Inherits QStyleOptionComplex.


Detailed Description

The QStyleOptionSlider class is used to describe the parameters needed for drawing a slider.

QStyleOptionSlider contains all the information that QStyle functions need to draw QSlider and QScrollBar.

For performance reasons, the access to the member variables is direct (i.e., using the . or -> operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.

For an example demonstrating how style options can be used, see the Styles example.

See also QStyleOptionComplex, QSlider, and QScrollBar.


Copyright © 2008 Trolltech Trademarks
Qt Jambi 4.3.5_01