qt6-bb10/src/widgets/styles
Volker Hilsheimer 56da533b45 Never handle scrollbars styled with box or border changes as transient
If scrollbars are styled with a style sheet that includes a box or
removes off the native border, then we never treat them as transient or
overlapping. Otherwise, the layout logic in QAbstractScrollArea will
show them on top of the viewport, overlapping the content.

Add case to the style sheet test baseline test. It's a test for
scrollbars in a scroll area, rather than a test for the styling of the
scrollbars themselves.

Fixes: QTBUG-98289
Pick-to: 6.2
Change-Id: Ic53ad248b3eedd54722ac7b2fe5256a27092dbc1
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2021-11-29 16:02:28 +01:00
..
images Add high-resolution pixmaps for macOS dock widget title icons 2021-07-05 17:36:04 +02:00
qcommonstyle.cpp Add style hint for preventing spin box selection on up/down 2021-10-08 00:45:18 +02:00
qcommonstyle.h Modernize the "animation" feature 2018-10-12 14:26:15 +00:00
qcommonstyle_p.h Make QStringList an alias to QList<QString> 2020-09-12 23:37:15 +02:00
qcommonstylepixmaps_p.h Put SVG versions of several built-in icons under version control 2021-06-24 12:57:30 +02:00
qdrawutil.cpp Doc: fix qdoc warning, add \inmodule for qdrawutil header 2021-09-05 23:07:52 +02:00
qdrawutil.h
qfusionstyle.cpp Fusion: Consistent width calculation and rendering of menu items 2021-10-27 20:08:33 +02:00
qfusionstyle_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qfusionstyle_p_p.h Replace use of deprecated Q_OS_MACX in favor of Q_OS_MACOS 2020-07-08 01:09:38 +02:00
qpixmapstyle.cpp Remove QStyleOptionProgressBar::orientation member 2020-08-29 22:05:09 +02:00
qpixmapstyle_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qpixmapstyle_p_p.h
qproxystyle.cpp QStyle: add name() to return the name of the style 2021-01-14 05:43:14 +00:00
qproxystyle.h
qproxystyle_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qstyle.cpp widgets: Fix typos in documentation 2021-10-12 12:52:02 +02:00
qstyle.h Add style hint for preventing spin box selection on up/down 2021-10-08 00:45:18 +02:00
qstyle.qrc QTabBar/Windows: Fix close button icons being too small on high-res screens 2021-01-15 12:26:40 +01:00
qstyle_p.h QStyle: add name() to return the name of the style 2021-01-14 05:43:14 +00:00
qstyleanimation.cpp QStyleAnimation: make sure the last frame of animation is rendered 2020-12-07 14:43:47 +00:00
qstyleanimation_p.h Pass QDate and QTime as value classes 2020-02-27 10:48:25 +01:00
qstylefactory.cpp QStyle: add name() to return the name of the style 2021-01-14 05:43:14 +00:00
qstylefactory.h
qstylehelper.cpp QDial: fix painting QDial when the rect has an offset 2021-01-29 07:26:56 +01:00
qstylehelper_p.h Widget style: Use per-screen DPI in QStyleHelper::dpiScaled() 2019-08-23 01:41:33 +00:00
qstyleoption.cpp Initialize QStyleOptionProgressBar with QStyle::State_Horizontal 2021-11-08 08:06:00 +00:00
qstyleoption.h Unbreak binary compatibility in QStyleOptionHeader 2021-02-19 22:21:30 +01:00
qstylepainter.cpp
qstylepainter.h
qstyleplugin.cpp
qstyleplugin.h
qstylesheetstyle.cpp Never handle scrollbars styled with box or border changes as transient 2021-11-29 16:02:28 +01:00
qstylesheetstyle_default.cpp widgets: Fix typos in source code comments 2021-10-15 20:07:09 +02:00
qstylesheetstyle_p.h Support styled menu icons in otherwise unstyled menu items 2021-07-14 16:17:33 +02:00
qwindowsstyle.cpp Port to QImage and QPixmap deviceIndependentSize() 2021-09-01 15:24:05 +02:00
qwindowsstyle_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qwindowsstyle_p_p.h Port from devicePixelRatioF() to devicePixelRatio() 2020-09-10 17:28:11 +02:00