QStyleOptionHeaderV2 Class
QStyleOptionHeaderV2 클래스는 헤더를 그릴 때 필요한 매개변수를 정의하는 데 사용됩니다. 더 보기...
| 헤더: | #include <QStyleOptionHeaderV2> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake: | QT += widgets |
| 상속: | QStyleOptionHeader |
공개 함수
| QStyleOptionHeaderV2() | |
| QStyleOptionHeaderV2 & | operator=(const QStyleOptionHeaderV2 &) |
공개 변수
| bool | isSectionDragTarget |
| Qt::TextElideMode | textElideMode |
멤버 함수 설명
QStyleOptionHeaderV2::QStyleOptionHeaderV2()
QStyleOptionHeaderV2 객체를 생성하고, 멤버 변수들을 기본값으로 초기화합니다.
[noexcept default] QStyleOptionHeaderV2 &QStyleOptionHeaderV2::operator=(const QStyleOptionHeaderV2 &)
other 를 이 QStyleOptionHeaderV2 인스턴스에 복사 할당합니다.
멤버 변수 문서
bool QStyleOptionHeaderV2::isSectionDragTarget
이 변수는 해당 섹션이 드래그된 섹션이 삽입될 위치인지 여부를 나타냅니다.
QHeaderView::setSectionsMovable도 참조하십시오 .
Qt::TextElideMode QStyleOptionHeaderV2::textElideMode
항목에 들어가지 않을 정도로 텍스트가 너무 긴 경우, 해당 위치에 줄임표를 추가해야 합니다.
Qt::ElideNone항목에 들어가지 않을 정도로 긴 텍스트에 줄임표를 추가해야 하는 위치
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.