qt6-bb10/tests/baseline
Volker Hilsheimer 74e0ed217f StyleSheet: respect a font weight set for header sections
QCommonStyle sets the font for a selected header section to bold.
This overrides the font weight a calling style might already have set,
e.g. when a style sheet is applied to explicitly set a weight for a
checked header section:

QHeaderView::section:checked {
   font-size: 20px
   font-weight: normal
}

Since setting the weight on a font sets the respective resolve-mask
bit, we can avoid overwriting a weight that is already set explicitly.

Add baseline test coverage using a QTableWidget.

Fixes: QTBUG-122180
Pick-to: 6.7 6.5
Change-Id: I8c6279ad2fd8c5718ebea26e27c64ae823625748
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2024-04-11 04:35:22 +02:00
..
painting Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
shared GUI: add CMYK painting support 2024-04-03 18:31:36 +01:00
stylesheet StyleSheet: respect a font weight set for header sections 2024-04-11 04:35:22 +02:00
text Tests: check the output of QFile::open 2024-03-27 04:24:11 +01:00
widgets Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Fix build without PDF 2024-02-25 21:40:47 +00:00