En esta página

QStyleOptionHeaderV2 Class

La clase QStyleOptionHeaderV2 se utiliza para describir los parámetros para dibujar un encabezado. Más...

Cabecera: #include <QStyleOptionHeaderV2>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets
Hereda: QStyleOptionHeader

Funciones Públicas

Variables Públicas

bool isSectionDragTarget
Qt::TextElideMode textElideMode

Descripción Detallada

Documentación de las funciones de los miembros

QStyleOptionHeaderV2::QStyleOptionHeaderV2()

Construye un QStyleOptionHeaderV2, inicializando las variables miembros a sus valores por defecto.

Documentación de las variables miembro

bool QStyleOptionHeaderV2::isSectionDragTarget

Esta variable mantiene si la sección es la ubicación en la que se insertará una sección arrastrada

Véase también QHeaderView::setSectionsMovable.

Qt::TextElideMode QStyleOptionHeaderV2::textElideMode

donde debe añadirse la elipsis para el texto demasiado largo para caber en un elemento.

El valor por defecto es Qt::ElideNone.

Véase también Qt::TextElideMode.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.