QStyleOptionHeaderV2 Class

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

Header: #include <QStyleOptionHeaderV2>
Inherits: QStyleOptionHeader

Public Functions

Public Variables

bool isSectionDragTarget
Qt::TextElideMode textElideMode

Protected Functions

QStyleOptionHeaderV2(int version)

Detailed Description

\inmoduleQtWidgets

Member Function Documentation

QStyleOptionHeaderV2::QStyleOptionHeaderV2()

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

[protected] QStyleOptionHeaderV2::QStyleOptionHeaderV2(int version)

\internal

Member Variable Documentation

bool QStyleOptionHeaderV2::isSectionDragTarget

This variable holds whether the section is the location at which a dragged section will be inserted

See also QHeaderView::setSectionsMovable.

Qt::TextElideMode QStyleOptionHeaderV2::textElideMode

where ellipsis should be added for text that is too long to fit into an item

The default value is Qt::ElideNone.

See also Qt::TextElideMode.