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

詳細説明

メンバ関数の説明

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.