QStyleOptionHeaderV2 Class

QStyleOptionHeaderV2 클래스는 헤더를 그리기 위한 매개 변수를 설명하는 데 사용됩니다. 더 보기...

Header: #include <QStyleOptionHeaderV2>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets
상속합니다: QStyleOptionHeader

공용 함수

공용 변수

bool isSectionDragTarget
Qt::TextElideMode textElideMode

상세 설명

멤버 함수 문서

QStyleOptionHeaderV2::QStyleOptionHeaderV2()

멤버 변수를 기본값으로 초기화하여 QStyleOptionHeaderV2를 생성합니다.

멤버 변수 문서

bool QStyleOptionHeaderV2::isSectionDragTarget

이 변수에는 드래그한 섹션이 삽입될 위치인지 여부가 저장됩니다.

QHeaderView::setSectionsMovable참조하세요 .

Qt::TextElideMode QStyleOptionHeaderV2::textElideMode

여기서 줄임표는 항목에 너무 길어 항목에 맞지 않는 텍스트에 추가해야 합니다.

기본값은 Qt::ElideNone 입니다.

Qt::TextElideMode참조하세요 .

© 2025 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.