Home · Overviews · Examples 

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

The QStyleOptionViewItemV2 class is used to describe the parameters necessary for drawing a frame in Qt 4.2 or above. More...

Inherits QStyleOptionViewItem.

Inherited by QStyleOptionViewItemV3.


Detailed Description

The QStyleOptionViewItemV2 class is used to describe the parameters necessary for drawing a frame in Qt 4.2 or above.

QStyleOptionViewItemV2 inherits QStyleOptionViewItem.

An instance of the QStyleOptionViewItemV2 class has type SO_ViewItem and version 2. The type is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleOption subclass and your own styles. The version is used by QStyleOption subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.

See QStyleOptionFrameV2's detailed description for a discussion of how to handle "V2" classes.

See also QStyleOptionViewItem and QStyleOption.


Copyright © 2007 Trolltech Trademarks
Qt Jambi 4.3.2_01