The QStyleOptionHeaderV2 class is used to describe the parameters for drawing a header. 更多...
头: | #include <QStyleOptionHeaderV2> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
qmake: | QT += widgets |
继承: | QStyleOptionHeader |
QStyleOptionHeaderV2 () |
bool | isSectionDragTarget |
Qt::TextElideMode | textElideMode |
Constructs a QStyleOptionHeaderV2, initializing the members variables to their default values.
This variable holds whether the section is the location at which a dragged section will be inserted
另请参阅 QHeaderView::setSectionsMovable .
where ellipsis should be added for text that is too long to fit into an item
默认值为 Qt::ElideNone .
另请参阅 Qt::TextElideMode .