StyleKit: Merge header view delegates into a single headerViewDelegate
Replace horizontalHeaderViewDelegate and verticalHeaderViewDelegate
with a single headerViewDelegate control type. The vertical header is
now styled through the existing "vertical" state, the same way as
Slider and ScrollBar.
The two delegate QML files stay, but both use
StyleReader.HeaderViewDelegate and set vertical from the delegate's
orientation. This also makes it easier to map StyleKit onto styles
that have a single header type with an orientation, such as
QHeaderView in Qt Widgets.
Pick-to: 6.12
Change-Id: I0960b1fa514cb8537f4f51a67d063d6e30e55887
Reviewed-by: Doris Verria <doris.verria@qt.io>
| commit | b29b83e853774d1b396275a40c23e83390d86b47 |
| parent | 1142f0aebc348946d0ac675129c0cdb6cf493bd6 |
| author | Dilek Akcay <dilek.akcay@qt.io> |
| committer | Dilek Akcay <dilek.akcay@qt.io> |
| commit time | Tue, 20 Oct 2026 21:46:03 +0000 |
- M src/labs/stylekit/HorizontalHeaderViewDelegate.qml
- M src/labs/stylekit/VerticalHeaderViewDelegate.qml
- M src/labs/stylekit/doc/snippets/ControlsSnippets.qml
- M src/labs/stylekit/doc/snippets/ReferenceFallbackStyle.qml
- M src/labs/stylekit/impl/FallbackStyle.qml
- M src/labs/stylekit/qqstylekitcontrols.cpp
- M src/labs/stylekit/qqstylekitcontrols_p.h
- M src/labs/stylekit/qqstylekitpropertyresolver.cpp
- M src/labs/stylekit/qqstylekitreader.cpp
- M src/labs/stylekit/qqstylekitreader_p.h
- M src/labs/stylekit/qqstylekittheme.cpp