Home · Overviews · Examples 

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

The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem. More...

Inherits QStyleOption.


Detailed Description

The QStyleOptionGraphicsItem class is used to describe the parameters needed to draw a QGraphicsItem.

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.

For an example demonstrating how style options can be used, see the Styles example.

See also QStyleOption and QGraphicsItem::paint.


Copyright © 2008 Trolltech Trademarks
Qt Jambi 4.3.4_01