![]() |
Home · Overviews · Examples |
The QStyleOptionButton class is used to describe the parameters for drawing buttons. More...
Inherits QStyleOption.
The QStyleOptionButton class is used to describe the parameters for drawing buttons.
QStyleOptionButton contains all the information that QStyle functions need to draw graphical elements like QPushButton, QCheckBox, and QRadioButton.
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 and QStyleOptionToolButton.
Copyright © 2008 Trolltech | Trademarks | Qt Jambi 4.3.5_01 |