QStyleOptionHeaderV2 Class
QStyleOptionHeaderV2 类用于描述绘制页眉的参数。更多
页眉 | #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 |
成员变量文档
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.