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.