|  | Home · Overviews · Examples |

# QStyleOptionGroupBox Class Reference
[com.trolltech.qt.gui module]

The `QStyleOptionGroupBox` class describes the parameters for drawing a group box. More...

Inherits `QStyleOptionComplex`.

## Detailed Description

The `QStyleOptionGroupBox` class describes the parameters for drawing a group box.

`QStyleOptionButton` contains all the information that `QStyle` functions need the various graphical elements of a group box.

It holds the `lineWidth` and the `midLineWidth` for drawing the panel, the group box's title and the title's alignment and color.

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 `QGroupBox`.