PySide.QtGui.QStyleOptionViewItemV3 class is used to describe the parameters necessary for drawing a frame in Qt 4.3 or above.
PySide.QtGui.QStyleOptionViewItemV3 继承 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.
见 PySide.QtGui.QStyleOptionFrameV2 ‘s detailed description for a discussion of how to handle “V2” and other versioned classes.
| 参数: |
|
|---|
构造 PySide.QtGui.QStyleOptionViewItemV3 对象。
构造副本为 other .
构造副本为 other .
This enum is used to hold information about the version of the style option, and is defined for each PySide.QtGui.QStyleOption 子类。
| 常量 | 描述 |
|---|---|
| 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.
另请参阅
QStyleOptionViewItem.StyleOptionType