|  | Home · Overviews · Examples

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

The `QStyleOptionFocusRect` class is used to describe the parameters for drawing a focus rectangle with `QStyle`. More...

Inherits `QStyleOption`.

## Detailed Description

The `QStyleOptionFocusRect` class is used to describe the parameters for drawing a focus rectangle with `QStyle`.

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