class QStyleOptionHeaderV2

The QStyleOptionHeaderV2 class is used to describe the parameters for drawing a header. More

Inheritance diagram of PySide6.QtWidgets.QStyleOptionHeaderV2

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class StyleOptionType
class StyleOptionVersion
PySide6.QtWidgets.QStyleOptionHeaderV2.textElideMode
PySide6.QtWidgets.QStyleOptionHeaderV2.isSectionDragTarget
PySide6.QtWidgets.QStyleOptionHeaderV2.unused
__init__()

Constructs a QStyleOptionHeaderV2 , initializing the members variables to their default values.

__init__(other)
Parameters:

otherQStyleOptionHeaderV2

__init__(version)
Parameters:

version – int