Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

QStyleOptionFocusRect Class Reference

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

#include <QStyleOptionFocusRect>

Inherits QStyleOption.

List of all members.

Read-Only Properties

Public Functions


Detailed Description

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

Note that on Mac OS X, the focus rect is handled by a FocusWidget, so be sure that you only use the focus rect for things that really need a focus rect or that it is not calling the QMacStyle::drawPrimitive in that case.


Property Documentation

backgroundColor : QColor

This property holds the background color on which the focus rect is being drawn.


Member Function Documentation

QStyleOptionFocusRect::QStyleOptionFocusRect ( int version )

Construct a QStyleOptionFocusRect with version number version


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp1