Home · Overviews · Examples 

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

The QStyleOptionToolButton class is used to describe the parameters for drawing a tool button. More...

Inherits QStyleOptionComplex.


Detailed Description

The QStyleOptionToolButton class is used to describe the parameters for drawing a tool button.

QStyleOptionToolButton contains all the information that QStyle functions need to draw QToolButton.

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 QStyleOption, QStyleOptionComplex, and QStyleOptionButton.


Copyright © 2008 Trolltech Trademarks
Qt Jambi 4.3.4_01