Summary:
Added option to set transparency and blur behind menu frames such as right click context menu, toolbar menu, etc.
Transparency and blur is disabled by default.
Test Plan: {F5680253}
Reviewers: hpereiradacosta, #plasma, colomar, alake
Reviewed By: hpereiradacosta, #plasma
Subscribers: fredrik, alake, januz, abetts, colomar, andreask, zzag, ngraham, plasma-devel
Tags: #plasma, #breeze
Differential Revision: https://phabricator.kde.org/D10170
Summary:
make scrollbars size configurable with an enum, letting 3
allowed values, small, medium, large preferring it over
letting the user fiddle with pixel values
the default now is a tiny scrollbar.
(that can be done instead if needed)
Test Plan:
tried the 3 different values and checked that it updates
on the fly
Reviewers: #plasma, #vdg, hpereiradacosta
Reviewed By: hpereiradacosta
Subscribers: colomar, alex-l, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D3210
Summary:
Another change mostly for KWin (Wayland compositor). KWin destroys it's
internal Wayland connection prior to the QStyle getting destroyed. As
the ShadowHelper initialized Wayland objects those would be destroyed
after the connection is destroyed. With latest Wayland library this
would cause a crash.
Thus unpolish is implemented in the style and deletes the ShadowHelper.
KWin can on tear down invoke the unpolish and thus make sure it doesn't
crash.
CCBUG: 372001
Reviewers: #plasma, broulik, hpereiradacosta
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D3240
Special background for groupboxes, menus, etc is now handled directly in the painting routine rather than adjusting
the palette. This was indeed breaking palette inheritance, and requiring hacks that apparently posed some performance
regressions.
- check documentMode to decide tab background color.
BUG: 356561
BUG: 356343
Some important style hints are supplied by the KStyle class, mostly
importantly whether listviews activate folders on single or double
click.
For frameworks this now exists in KStyle, so code was not included in
Breeze and latest Oxygen. However for KDE4 builds we still need this
code.
There is a KDE4 kstyle class, but this behvaiour is very different and
causes conflicts and a lot of other problems. Re-implementing the part
we need seems the easier approach
REVIEW: 123188
- added +1 and -1 where necessary to deal with adjacent rects
- do not take out DefaultFrameWidth from button margins if they are flat, to be consistent with calculated QCommonStyle PushButton
Contents rect
- moved calculation of progressbar contents to the relevant SubElement section (SE_ProgressBarContents)
- fixed rendering of right-to-left progress bars
- deal with inverted progress bars when animated
- renamed handleRightToLeft layout into visualRect
- removed the QPoint version, since unused.