summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qgridlayout
diff options
context:
space:
mode:
authorWladimir Leuschner <wladimir.leuschner@qt.io>2024-04-15 15:47:19 +0200
committerWladimir Leuschner <wladimir.leuschner@qt.io>2024-04-30 17:46:34 +0200
commitb733d31f275d09ca81b5e347ca1e9b6c9b216cd4 (patch)
tree6763233e47f1766395b94d73a270252a00ae6ad5 /tests/auto/widgets/kernel/qgridlayout
parentc6438054b91b7017b95706677e0194ed4f1e9e7d (diff)
QWindows11Style: Respect user set Stylesheets
QWindows11Style inherits from QWindowsVistaStyle for which StyleSheet theming is deactivated. QWindows11Style draws most elements with QPainter and should therefore be able to use overrides by StyleSheets. This patch checks, whether QWindows11Style is used and enables the theming by declaring it not to be a QPixmap based style. Further drawing routines for QComboBox, QPushButton and QLineEdit are now drawing always the base background and when they are hovered a alpha mask is used to overdraw the elemens to create a highlight effect. Fixes: QTBUG-124286 Pick-to: 6.7 6.7.1 Change-Id: I65436493bc2b1572c0d9423a066caea3ba9e1459 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/widgets/kernel/qgridlayout')
0 files changed, 0 insertions, 0 deletions