qt6-bb10/tests/baseline/stylesheet/qss
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
..
qheaderview StyleSheet: respect a font weight set for header sections 2024-04-11 04:35:22 +02:00
qscrollarea Never handle scrollbars styled with box or border changes as transient 2021-11-29 16:02:28 +01:00
qtoolbutton Stylesheet: Another positioning fix for the menu indicator 2022-05-18 13:15:00 +02:00
qtreeview StyleSheet: use item background rule when filling row backround 2022-10-25 05:16:15 +02:00
default.qss
dummy.qss Update QToolButton texts and add more stylesheets to test with 2022-02-16 16:41:43 +00:00