Table Of Contents

Previous topic

QStyleOptionViewItemV2

Next topic

QStyleOptionViewItemV4

QStyleOptionViewItemV3

Inherited by: QStyleOptionViewItemV4

Detailed Description

The PySide.QtGui.QStyleOptionViewItemV3 class is used to describe the parameters necessary for drawing a frame in Qt 4.3 or above.

PySide.QtGui.QStyleOptionViewItemV3 inherits PySide.QtGui.QStyleOptionViewItem .

An instance of the PySide.QtGui.QStyleOptionViewItemV3 class has type SO_ViewItem and version 3. The type is used internally by PySide.QtGui.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 PySide.QtGui.QStyleOption subclass and your own styles. The version is used by PySide.QtGui.QStyleOption subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast() , you normally do not need to check it.

See PySide.QtGui.QStyleOptionFrameV2 ‘s detailed description for a discussion of how to handle “V2” and other versioned classes.

class PySide.QtGui.QStyleOptionViewItemV3
class PySide.QtGui.QStyleOptionViewItemV3(other)
class PySide.QtGui.QStyleOptionViewItemV3(other)
class PySide.QtGui.QStyleOptionViewItemV3(version)
Parameters:

Constructs a PySide.QtGui.QStyleOptionViewItemV3 object.

Constructs a copy of other .

Constructs a copy of other .

PySide.QtGui.QStyleOptionViewItemV3.StyleOptionVersion

This enum is used to hold information about the version of the style option, and is defined for each PySide.QtGui.QStyleOption subclass.

Constant Description
QStyleOptionViewItemV3.Version 3

The version is used by PySide.QtGui.QStyleOption subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast() , you normally do not need to check it.

See also

QStyleOptionViewItem.StyleOptionType

PySide.QtGui.QStyleOptionViewItemV3.widget
PySide.QtGui.QStyleOptionViewItemV3.locale