QStyleOptionHeaderV2 Class

Die Klasse QStyleOptionHeaderV2 wird verwendet, um die Parameter für das Zeichnen einer Kopfzeile zu beschreiben. Mehr...

Kopfzeile: #include <QStyleOptionHeaderV2>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets
Vererbt: QStyleOptionHeader

Öffentliche Funktionen

Öffentliche Variablen

bool isSectionDragTarget
Qt::TextElideMode textElideMode

Detaillierte Beschreibung

Dokumentation der Mitgliedsfunktionen

QStyleOptionHeaderV2::QStyleOptionHeaderV2()

Konstruiert eine QStyleOptionHeaderV2, wobei die Membervariablen auf ihre Standardwerte initialisiert werden.

Dokumentation der Mitgliedsvariablen

bool QStyleOptionHeaderV2::isSectionDragTarget

Diese Variable gibt an, ob der Abschnitt die Stelle ist, an der ein gezogener Abschnitt eingefügt wird

Siehe auch QHeaderView::setSectionsMovable.

Qt::TextElideMode QStyleOptionHeaderV2::textElideMode

wo Ellipsen für Text eingefügt werden sollen, der zu lang ist, um in einen Eintrag zu passen.

Der Standardwert ist Qt::ElideNone.

Siehe auch 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.