Use adaptive transparency and tweak contrast effect to make better use of it

This commit is contained in:
Niccolò Venerandi 2021-03-01 22:25:52 +00:00
parent aa1ce4e7ea
commit 4d4db0b199
17 changed files with 2973 additions and 124 deletions

View File

@ -102,6 +102,9 @@ defaultHeight=1080
[ContrastEffect]
enabled=true
contrast=0.2
intensity=0.4
saturation=1.7
contrast=0.17
intensity=1.25
saturation=9
[AdaptiveTransparency]
enabled=true

View File

@ -100,6 +100,9 @@ defaultHeight=1080
[ContrastEffect]
enabled=true
contrast=0.2
intensity=2.0
saturation=1.7
contrast=0.17
intensity=1.25
saturation=9
[AdaptiveTransparency]
enabled=true

View File

@ -28,6 +28,12 @@ plasma_install_desktoptheme_svgs(default SUBPATH translucent/widgets FILES ${tra
FILE(GLOB translucent_dialogs translucent/dialogs/*.svg)
plasma_install_desktoptheme_svgs(default SUBPATH translucent/dialogs FILES ${translucent_dialogs})
FILE(GLOB solid_widgets solid/widgets/*.svg)
plasma_install_desktoptheme_svgs(default SUBPATH solid/widgets FILES ${solid_widgets})
FILE(GLOB solid_dialogs solid/dialogs/*.svg)
plasma_install_desktoptheme_svgs(default SUBPATH solid/dialogs FILES ${solid_dialogs})
FILE(GLOB icons icons/*.svg)
plasma_install_desktoptheme_svgs(default SUBPATH icons FILES ${icons})

View File

@ -102,6 +102,8 @@ defaultHeight=1080
[ContrastEffect]
enabled=true
contrast=0.2
#intensity is disabled, in order to auto adjust to the chosen theme color
#intensity=2.0
saturation=1.7
intensity=1.4
saturation=10
[AdaptiveTransparency]
enabled=true

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 57 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -943,14 +943,14 @@
height="32"
width="6"
id="rect4152"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
transform="matrix(0,-1,-1,0,0,0)"
class="ColorScheme-Background" />
</g>
<g
id="topleft">
<path
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
d="m 16,6 c -2,0 -3,1 -3,3 v 2 1 h 4 1 1 V 11 7 6 h -1 1 z"
transform="translate(0,904.36218)"
id="rect4159"
@ -961,7 +961,7 @@
<g
id="topright">
<path
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
d="m 51,6 v 1 4 1 h 1 1 3 1 V 11 9 C 57,7 56,6 54,6 h -1 -1 z"
transform="translate(0,904.36218)"
id="rect4177"
@ -973,7 +973,7 @@
id="bottom">
<rect
transform="matrix(0,1,-1,0,0,0)"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
id="rect4148"
width="6"
height="32"
@ -985,7 +985,7 @@
id="bottomleft">
<path
inkscape:connector-curvature="0"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
d="m 19,954.36218 v -1 -4 -1 h -1 -1 -3 -1 v 1 2 c 0,2 1,3 3,3 h 1 1 z"
id="path5048"
class="ColorScheme-Background"
@ -996,7 +996,7 @@
<path
id="rect4177-6"
d="m 51,954.36218 v -1 -4 -1 h 1 1 3 1 v 1 2 c 0,2 -1,3 -3,3 h -1 -1 z"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
inkscape:connector-curvature="0"
class="ColorScheme-Background"
sodipodi:nodetypes="cccccccccssccc" />
@ -1005,7 +1005,7 @@
id="left">
<rect
transform="scale(-1,1)"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
id="rect4144"
width="5.9999995"
height="32"
@ -1021,7 +1021,7 @@
height="32"
width="5.9999995"
id="rect4140"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-Background" />
</g>
<g
@ -1034,7 +1034,7 @@
id="rect4401"
style="opacity:1;fill:none;fill-opacity:1;stroke:none" />
<rect
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
id="rect4138"
width="32"
height="32"

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -124,118 +124,118 @@
</defs>
<g id="layer1" transform="translate(0,-904.36218)">
<rect id="hint-tile-center" y="904.36218" width="5" height="5" fill="#f60"/>
<g id="top" transform="translate(-1.0000017,-2.280249e-5)">
<rect id="rect4152" class="ColorScheme-Background" transform="matrix(0,-1,-1,0,0,0)" x="-916.36218" y="-50.999985" width="6" height="32" fill="currentColor" opacity=".75"/>
<g id="top">
<rect id="rect4152" class="ColorScheme-Background" transform="matrix(0,-1,-1,0,0,0)" x="-916.36218" y="-50.999985" width="6" height="32" fill="currentColor" opacity=".85"/>
</g>
<g id="bottom" transform="translate(-1.0000017,-2.280249e-5)">
<rect id="rect4148" class="ColorScheme-Background" transform="rotate(90)" x="948.36218" y="-50.999985" width="6" height="32" fill="currentColor" opacity=".75"/>
<g id="bottom">
<rect id="rect4148" class="ColorScheme-Background" transform="rotate(90)" x="948.36218" y="-50.999985" width="6" height="32" fill="currentColor" opacity=".85"/>
</g>
<g id="left" transform="translate(-1.0000017,-2.280249e-5)">
<rect id="rect4144" class="ColorScheme-Background" transform="scale(-1,1)" x="-19.000004" y="916.36218" width="5.9999995" height="32" fill="currentColor" opacity=".75"/>
<g id="left">
<rect id="rect4144" class="ColorScheme-Background" transform="scale(-1,1)" x="-19.000004" y="916.36218" width="5.9999995" height="32" fill="currentColor" opacity=".85"/>
</g>
<g id="right" transform="translate(-1.0000017,-2.280249e-5)">
<rect id="rect4140" class="ColorScheme-Background" x="50.999985" y="916.36218" width="5.9999995" height="32" fill="currentColor" opacity=".75"/>
<g id="right">
<rect id="rect4140" class="ColorScheme-Background" x="50.999985" y="916.36218" width="5.9999995" height="32" fill="currentColor" opacity=".85"/>
</g>
<g id="center" transform="translate(-1.0000017,-2.280249e-5)">
<g id="center">
<rect id="rect4401" x="19.000004" y="916.36218" width="32" height="32" fill="none"/>
<rect id="rect4138" class="ColorScheme-Background" x="19.000004" y="916.36218" width="32" height="32" fill="currentColor" opacity=".75"/>
<rect id="rect4138" class="ColorScheme-Background" x="19.000004" y="916.36218" width="32" height="32" fill="currentColor" opacity=".85"/>
</g>
<g id="shadow-top" transform="translate(55.999978,-2.8024903e-6)">
<g id="shadow-top" transform="translate(56.99998,1.7432666e-5)">
<rect id="rect4820" transform="matrix(0,-1,-1,0,0,0)" x="-916.36218" y="-50.999985" width="6" height="32" fill="none"/>
<rect id="rect4822" transform="matrix(0,-1,-1,0,0,0)" x="-910.36218" y="-50.999985" width="6" height="32" fill="url(#linearGradient3054)" opacity=".9"/>
<rect id="rect4822" transform="matrix(0,-1,-1,0,0,0)" x="-910.36218" y="-50.999985" width="6" height="32" fill="url(#linearGradient3054)" opacity=".85"/>
<rect id="rect4824" transform="matrix(0,-1,-1,0,0,0)" x="-911.36218" y="-50.999985" width=".99997741" height="32" fill="none"/>
</g>
<g id="shadow-topleft" transform="translate(55.999978,-2.8024903e-6)">
<path id="path4828" transform="translate(0,904.36218)" d="m7 9v3h6v-4 1z" fill="url(#linearGradient4922)" fill-rule="evenodd" opacity=".9"/>
<path id="path4830" transform="translate(-58,904.36218)" d="m65 0v9h6c0-2 1-3 3-3v-6z" fill="url(#radialGradient4924)" fill-rule="evenodd" opacity=".9"/>
<path id="path4832" transform="translate(-58,904.36218)" d="m74 0v6h-1 4v-6h-4z" fill="url(#linearGradient4926)" fill-rule="evenodd" opacity=".9"/>
<g id="shadow-topleft" transform="translate(56.99998,1.7432666e-5)">
<path id="path4828" transform="translate(0,904.36218)" d="m7 9v3h6v-4 1z" fill="url(#linearGradient4922)" fill-rule="evenodd" opacity=".85"/>
<path id="path4830" transform="translate(-58,904.36218)" d="m65 0v9h6c0-2 1-3 3-3v-6z" fill="url(#radialGradient4924)" fill-rule="evenodd" opacity=".85"/>
<path id="path4832" transform="translate(-58,904.36218)" d="m74 0v6h-1 4v-6h-4z" fill="url(#linearGradient4926)" fill-rule="evenodd" opacity=".85"/>
<rect id="rect4834" transform="scale(-1,1)" x="-19.000004" y="910.36218" width="5.9999919" height="6.0000224" ry=".9999752" fill="none"/>
<rect id="rect4836" transform="scale(-1,1)" x="-19.000004" y="910.36218" width="2.0000038" height="5.9999752" ry="0" fill="none"/>
<rect id="rect4838" transform="scale(-1,1)" x="-18" y="914.36218" width="4.9999924" height="2.0000248" fill="none"/>
</g>
<g id="shadow-topright" transform="translate(55.999978,-2.8024903e-6)">
<path id="path4842" transform="translate(0,904.36218)" d="m57 9v-1 4h6v-4 1z" fill="url(#linearGradient4928)" fill-rule="evenodd" opacity=".9"/>
<path id="path4844" transform="translate(-58,904.36218)" d="m112 0v6c2 0 3 1 3 3h6v-9z" fill="url(#radialGradient4930)" fill-rule="evenodd" opacity=".9"/>
<path id="path4846" transform="translate(-58,904.36218)" d="m109 0v6h4-1v-6h1z" fill="url(#linearGradient3056)" fill-rule="evenodd" opacity=".9"/>
<g id="shadow-topright" transform="translate(56.99998,1.7432666e-5)">
<path id="path4842" transform="translate(0,904.36218)" d="m57 9v-1 4h6v-4 1z" fill="url(#linearGradient4928)" fill-rule="evenodd" opacity=".85"/>
<path id="path4844" transform="translate(-58,904.36218)" d="m112 0v6c2 0 3 1 3 3h6v-9z" fill="url(#radialGradient4930)" fill-rule="evenodd" opacity=".85"/>
<path id="path4846" transform="translate(-58,904.36218)" d="m109 0v6h4-1v-6h1z" fill="url(#linearGradient3056)" fill-rule="evenodd" opacity=".85"/>
<rect id="rect4848" x="50.999985" y="910.36218" width="5.9999957" height="6.0000224" ry=".9999752" fill="none"/>
<rect id="rect4850" x="50.999985" y="910.36218" width="2.0000153" height="5.9999752" ry="0" fill="none"/>
<rect id="rect4852" x="52" y="914.36218" width="4.9999809" height="2.0000248" fill="none"/>
</g>
<g id="shadow-bottom" transform="translate(55.999978,-2.8024903e-6)">
<g id="shadow-bottom" transform="translate(56.99998,1.7432666e-5)">
<rect id="rect4856" transform="rotate(90)" x="948.36218" y="-50.999985" width="6" height="32" fill="none"/>
<rect id="rect4858" transform="rotate(90)" x="954.36218" y="-50.999985" width="6" height="32" fill="url(#linearGradient4934)" opacity=".9"/>
<rect id="rect4858" transform="rotate(90)" x="954.36218" y="-50.999985" width="6" height="32" fill="url(#linearGradient4934)" opacity=".85"/>
<rect id="rect4860" transform="rotate(90)" x="953.36218" y="-50.999985" width="1.0000226" height="31.999971" fill="none"/>
</g>
<g id="shadow-bottomleft" transform="translate(55.999978,-2.8024903e-6)">
<path id="path4864" transform="translate(-58,904.36218)" d="m74 50v6h-1 4v-6h-4z" fill="url(#linearGradient4936)" fill-rule="evenodd" opacity=".9"/>
<path id="path4866" transform="translate(-58,904.36218)" d="m65 47v9h9v-6c-2 0-3-1-3-3z" fill="url(#radialGradient4938)" fill-rule="evenodd" opacity=".9"/>
<path id="path4868" transform="translate(0,904.36218)" d="m7 44v4-1h6v1-4z" fill="url(#linearGradient4940)" fill-rule="evenodd" opacity=".9"/>
<g id="shadow-bottomleft" transform="translate(56.99998,1.7432666e-5)">
<path id="path4864" transform="translate(-58,904.36218)" d="m74 50v6h-1 4v-6h-4z" fill="url(#linearGradient4936)" fill-rule="evenodd" opacity=".85"/>
<path id="path4866" transform="translate(-58,904.36218)" d="m65 47v9h9v-6c-2 0-3-1-3-3z" fill="url(#radialGradient4938)" fill-rule="evenodd" opacity=".85"/>
<path id="path4868" transform="translate(0,904.36218)" d="m7 44v4-1h6v1-4z" fill="url(#linearGradient4940)" fill-rule="evenodd" opacity=".85"/>
<rect id="rect4870" transform="scale(-1)" x="-19.000004" y="-954.36188" width="5.9999957" height="5.999999" ry=".99971962" fill="none"/>
<rect id="rect4872" transform="scale(-1)" x="-19.000004" y="-954.36218" width="2.0000038" height="6.0000248" ry="0" fill="none"/>
<rect id="rect4874" transform="scale(-1)" x="-18" y="-950.36218" width="4.9999714" height="2.0000362" fill="none"/>
</g>
<g id="shadow-bottomright" transform="translate(55.999978,-2.8024903e-6)">
<path id="path4878" transform="translate(-58,904.36218)" d="m109 50v6h4-1v-6h1z" fill="url(#linearGradient4942)" fill-rule="evenodd" opacity=".9"/>
<path id="path4880" transform="translate(-58,904.36218)" d="m115 47c0 2-1 3-3 3v6h9v-9z" fill="url(#radialGradient4944)" fill-rule="evenodd" opacity=".9"/>
<path id="path4882" transform="translate(0,904.36218)" d="m57 44v4-1h6v1-4z" fill="url(#linearGradient4946)" fill-rule="evenodd" opacity=".9"/>
<g id="shadow-bottomright" transform="translate(56.99998,1.7432666e-5)">
<path id="path4878" transform="translate(-58,904.36218)" d="m109 50v6h4-1v-6h1z" fill="url(#linearGradient4942)" fill-rule="evenodd" opacity=".85"/>
<path id="path4880" transform="translate(-58,904.36218)" d="m115 47c0 2-1 3-3 3v6h9v-9z" fill="url(#radialGradient4944)" fill-rule="evenodd" opacity=".85"/>
<path id="path4882" transform="translate(0,904.36218)" d="m57 44v4-1h6v1-4z" fill="url(#linearGradient4946)" fill-rule="evenodd" opacity=".85"/>
<rect id="rect4884" transform="scale(1,-1)" x="50.999985" y="-954.36188" width="5.9999957" height="5.999999" ry=".99971962" fill="none"/>
<rect id="rect4886" transform="scale(1,-1)" x="50.999985" y="-954.36218" width="2.0000153" height="6.0000248" ry="0" fill="none"/>
<rect id="rect4888" transform="scale(1,-1)" x="52" y="-950.36218" width="4.9999847" height="2.0000362" fill="none"/>
</g>
<g id="shadow-left" transform="translate(55.999978,-2.8024903e-6)">
<g id="shadow-left" transform="translate(56.99998,1.7432666e-5)">
<rect id="rect4892" transform="scale(-1,1)" x="-19.000004" y="916.36218" width="5.9999995" height="32" fill="none"/>
<rect id="rect4894" transform="scale(-1,1)" x="-13.000002" y="916.36218" width="5.9999995" height="32" fill="url(#linearGradient4948)" opacity=".9"/>
<rect id="rect4894" transform="scale(-1,1)" x="-13.000002" y="916.36218" width="5.9999995" height="32" fill="url(#linearGradient4948)" opacity=".85"/>
<rect id="rect4896" transform="scale(-1,1)" x="-14.000002" y="916.36218" width="1.0000019" height="32.000023" fill="none"/>
</g>
<g id="shadow-right" transform="translate(55.999978,-2.8024903e-6)">
<g id="shadow-right" transform="translate(56.99998,1.7432666e-5)">
<rect id="rect4900" x="50.999985" y="916.36218" width="5.9999995" height="32" fill="none"/>
<rect id="rect4902" x="56.999985" y="916.36218" width="5.9999995" height="32" fill="url(#linearGradient4950)" opacity=".9"/>
<rect id="rect4902" x="56.999985" y="916.36218" width="5.9999995" height="32" fill="url(#linearGradient4950)" opacity=".85"/>
<rect id="rect4904" x="55.999985" y="916.36218" width="1" height="32.000023" fill="none"/>
</g>
<g id="shadow-center" transform="translate(55.999978,-2.8024903e-6)" fill="none">
<g id="shadow-center" transform="translate(56.99998,1.7432666e-5)" fill="none">
<rect id="rect4908" x="19.000004" y="916.36218" width="32" height="32"/>
<rect id="rect4910" x="19.000004" y="916.36218" width="32" height="32"/>
</g>
<rect id="shadow-hint-top-margin" x="89" y="904.36218" width="3.9999998" height="5.9999771" fill="#f0f"/>
<rect id="shadow-hint-bottom-margin" x="89" y="954.36224" width="3.9999998" height="6.0000229" fill="#f0f"/>
<rect id="shadow-hint-right-margin" transform="rotate(90)" x="930.36224" y="-119.00002" width="3.9999769" height="5.9999771" fill="#f0f"/>
<rect id="shadow-hint-left-margin" transform="rotate(90)" x="930.36224" y="-68.999985" width="4.0000229" height="6" fill="#f0f"/>
<rect y="904.36218" x="97" height="5.9999771" width="4" id="shadow-hint-top-inset" style="fill:#00ff00;fill-opacity:1;stroke:none"/>
<rect style="fill:#00ff00;fill-opacity:1;stroke:none" id="shadow-hint-bottom-inset" width="4" height="6.0000229" x="97" y="954.36218"/>
<rect transform="matrix(0,1,-1,0,0,0)" style="fill:#00ff00;fill-opacity:1;stroke:none" id="shadow-hint-right-inset" width="3.9999769" height="5.9999771" x="936.36218" y="-118.99998"/>
<rect transform="matrix(0,1,-1,0,0,0)" y="-69" x="936.36218" height="6" width="4.0000229" id="shadow-hint-left-inset" style="fill:#00ff00;fill-opacity:1;stroke:none"/>
<rect id="mask-top" x="131" y="910.61218" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<rect id="mask-center" x="131" y="918.86218" width="27.499992" height="27.499992" style="paint-order:normal"/>
<rect id="mask-bottom" transform="scale(1,-1)" x="131" y="-954.6123" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<rect id="mask-left" transform="rotate(90)" x="918.86218" y="-131" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<rect id="mask-right" transform="rotate(90)" x="918.86218" y="-166.74997" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<path id="mask-bottomright" class="ColorScheme-Background" d="m158.49999 954.61232v-8.25016h8.25016v4.12508c0 2.75005-1.37503 4.12508-4.12508 4.12508h-2.75005z"/>
<path id="mask-bottomleft" class="ColorScheme-Background" d="m131 954.6123v-8.25016h-8.25016v4.12508c0 2.75005 1.37503 4.12508 4.12508 4.12508h2.75005z"/>
<path id="mask-topleft" class="ColorScheme-Background" d="m131.00016 910.61202v8.25016h-8.25016v-4.12508c0-2.75005 1.37503-4.12508 4.12508-4.12508h2.75005z"/>
<path id="mask-topright" class="ColorScheme-Background" d="m158.49998 910.61202v8.25016h8.25016v-4.12508c0-2.75005-1.37503-4.12508-4.12508-4.12508h-2.75005z"/>
<g id="topleft" transform="translate(-1.0000017,-4.280249e-5)">
<path id="rect4159" class="ColorScheme-Background" transform="translate(0,904.36218)" d="m16 6c-2 0-3 1-3 3v3h6v-6h-1 1z" fill="currentColor" opacity=".75"/>
<rect id="shadow-hint-top-margin" x="90" y="904.36218" width="3.9999998" height="5.9999771" fill="#f0f"/>
<rect id="shadow-hint-bottom-margin" x="90" y="954.36224" width="3.9999998" height="6.0000229" fill="#f0f"/>
<rect id="shadow-hint-right-margin" transform="rotate(90)" x="930.36224" y="-120.00001" width="3.9999769" height="5.9999771" fill="#f0f"/>
<rect id="shadow-hint-left-margin" transform="rotate(90)" x="930.36224" y="-69.999985" width="4.0000229" height="6" fill="#f0f"/>
<rect id="shadow-hint-top-inset" x="97" y="904.36218" width="4" height="5.9999771" fill="#0f0"/>
<rect id="shadow-hint-bottom-inset" x="97" y="954.36218" width="4" height="6.0000229" fill="#0f0"/>
<rect id="shadow-hint-right-inset" transform="rotate(90)" x="936.36218" y="-119.99998" width="3.9999769" height="5.9999771" fill="#0f0"/>
<rect id="shadow-hint-left-inset" transform="rotate(90)" x="936.36218" y="-70" width="4.0000229" height="6" fill="#0f0"/>
<rect id="mask-top" x="132" y="910.61218" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<rect id="mask-center" x="132" y="918.86218" width="27.499992" height="27.499992" style="paint-order:normal"/>
<rect id="mask-bottom" transform="scale(1,-1)" x="132" y="-954.6123" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<rect id="mask-left" transform="rotate(90)" x="918.86218" y="-132" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<rect id="mask-right" transform="rotate(90)" x="918.86218" y="-167.74998" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<path id="mask-bottomright" class="ColorScheme-Background" d="m159.49999 954.61234v-8.25016h8.25016v4.12508c0 2.75005-1.37503 4.12508-4.12508 4.12508h-2.75005z"/>
<path id="mask-bottomleft" class="ColorScheme-Background" d="m132 954.61232v-8.25016h-8.25016v4.12508c0 2.75005 1.37503 4.12508 4.12508 4.12508h2.75005z"/>
<path id="mask-topleft" class="ColorScheme-Background" d="m132.00016 910.61204v8.25016h-8.25016v-4.12508c0-2.75005 1.37503-4.12508 4.12508-4.12508h2.75005z"/>
<path id="mask-topright" class="ColorScheme-Background" d="m159.49998 910.61204v8.25016h8.25016v-4.12508c0-2.75005-1.37503-4.12508-4.12508-4.12508h-2.75005z"/>
<g id="topleft" transform="translate(0,-2.0185303e-5)">
<path id="rect4159" class="ColorScheme-Background" transform="translate(0,904.36218)" d="m16 6c-2 0-3 1-3 3v3h6v-6h-1 1z" fill="currentColor" opacity=".85"/>
</g>
<g id="topright" transform="translate(-1.0000017,-4.280249e-5)">
<path id="rect4177" class="ColorScheme-Background" transform="translate(0,904.36218)" d="m51 6v6h6v-3c0-2-1-3-3-3h-2z" fill="currentColor" opacity=".75"/>
<g id="topright" transform="translate(0,-2.0185303e-5)">
<path id="rect4177" class="ColorScheme-Background" transform="translate(0,904.36218)" d="m51 6v6h6v-3c0-2-1-3-3-3h-2z" fill="currentColor" opacity=".85"/>
</g>
<g id="bottomleft" transform="translate(-1.0000017,-4.280249e-5)">
<path id="path5048" class="ColorScheme-Background" d="m19 954.36218v-6h-6v3c0 2 1 3 3 3h2z" fill="currentColor" opacity=".75"/>
<g id="bottomleft" transform="translate(0,-2.0185303e-5)">
<path id="path5048" class="ColorScheme-Background" d="m19 954.36218v-6h-6v3c0 2 1 3 3 3h2z" fill="currentColor" opacity=".85"/>
</g>
<g id="bottomright" transform="translate(-1.0000017,-4.280249e-5)">
<path id="rect4177-6" class="ColorScheme-Background" d="m51 954.36218v-6h6v3c0 2-1 3-3 3h-2z" fill="currentColor" opacity=".75"/>
<g id="bottomright" transform="translate(0,-2.0185303e-5)">
<path id="rect4177-6" class="ColorScheme-Background" d="m51 954.36218v-6h6v3c0 2-1 3-3 3h-2z" fill="currentColor" opacity=".85"/>
</g>
<rect style="fill:#00ff00;fill-opacity:1;stroke:none" id="hint-top-inset" width="4" height="0.000001" x="33" y="904.36218"/>
<rect y="954.36218" x="33" height="0.000001" width="4" id="hint-bottom-inset" style="fill:#00ff00;fill-opacity:1;stroke:none"/>
<rect y="-62" x="930.36218" height="0.000001" width="4" id="hint-right-inset" style="fill:#00ff00;fill-opacity:1;stroke:none" transform="matrix(0,1,-1,0,0,0)"/>
<rect style="fill:#00ff00;fill-opacity:1;stroke:none" id="hint-left-inset" width="4" height="0.000001" x="930.36218" y="-12.000004" transform="matrix(0,1,-1,0,0,0)"/>
<rect id="hint-top-inset" x="33" y="904.36218" width="4" height="1e-6" fill="#0f0"/>
<rect id="hint-bottom-inset" x="33" y="954.36218" width="4" height="1e-6" fill="#0f0"/>
<rect id="hint-right-inset" transform="rotate(90)" x="930.36218" y="-63" width="4" height="1e-6" fill="#0f0"/>
<rect id="hint-left-inset" transform="rotate(90)" x="930.36218" y="-13.000004" width="4" height="1e-6" fill="#0f0"/>
<rect id="thick-hint-top-margin" x="34" y="910.36218" width="4.0000019" height="8.0000048" fill="#f0f"/>
<rect id="thick-hint-bottom-margin" x="30" y="946.36218" width="4" height="8.0001907" fill="#f0f"/>
<rect id="thick-hint-right-margin" transform="rotate(90)" x="932.36218" y="-55.999985" width="3.9999771" height="7.9999847" fill="#f0f"/>
<rect id="thick-hint-left-margin" transform="rotate(90)" x="928.36218" y="-20" width="4.0000229" height="8.0000076" fill="#f0f"/>
<rect id="hint-bottom-margin" x="34" y="950.36218" width="4" height="4.0002136" fill="#800080"/>
<rect id="hint-right-margin" transform="rotate(90)" x="928.36218" y="-55.999985" width="3.9999771" height="3.9999847" fill="#800080"/>
<rect id="hint-left-margin" transform="rotate(90)" x="932.36218" y="-16" width="4.0000229" height="4.0000076" fill="#800080"/>
<rect id="hint-right-margin" transform="rotate(90)" x="928.36218" y="-56.999985" width="3.9999771" height="3.9999847" fill="#800080"/>
<rect id="hint-left-margin" transform="rotate(90)" x="932.36218" y="-17" width="4.0000229" height="4.0000076" fill="#800080"/>
<rect id="hint-top-margin" x="30" y="910.36218" width="4.0000019" height="3.9999795" fill="#800080"/>
<rect id="thick-center" y="960.36218" width="2" height="2"/>
</g>

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -947,7 +947,7 @@
height="32"
width="6"
id="rect4152"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
transform="matrix(0,-1,-1,0,0,0)"
class="ColorScheme-Background" />
</g>
@ -956,7 +956,7 @@
id="bottom">
<rect
transform="rotate(90)"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
id="rect4148"
width="6"
height="32"
@ -969,7 +969,7 @@
id="left">
<rect
transform="scale(-1,1)"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
id="rect4144"
width="5.9999995"
height="32"
@ -986,7 +986,7 @@
height="32"
width="5.9999995"
id="rect4140"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-Background" />
</g>
<g
@ -1000,7 +1000,7 @@
id="rect4401"
style="opacity:1;fill:none;fill-opacity:1;stroke:none" />
<rect
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
id="rect4138"
width="32"
height="32"
@ -1475,7 +1475,7 @@
transform="translate(3.5e-5,-6.280249e-5)"
id="topleft">
<path
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
d="m 16,6 c -2,0 -3,1 -3,3 v 2 1 h 4 1 1 V 11 7 6 h -1 1 z"
transform="translate(0,904.36218)"
id="rect4159"
@ -1487,7 +1487,7 @@
transform="translate(3.5e-5,-6.280249e-5)"
id="topright">
<path
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
d="m 51,6 v 1 4 1 h 1 1 3 1 V 11 9 C 57,7 56,6 54,6 h -1 -1 z"
transform="translate(0,904.36218)"
id="rect4177"
@ -1500,7 +1500,7 @@
id="bottomleft">
<path
inkscape:connector-curvature="0"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
d="m 19,954.36218 v -1 -4 -1 h -1 -1 -3 -1 v 1 2 c 0,2 1,3 3,3 h 1 1 z"
id="path5048"
class="ColorScheme-Background"
@ -1512,7 +1512,7 @@
<path
id="rect4177-6"
d="m 51,954.36218 v -1 -4 -1 h 1 1 3 1 v 1 2 c 0,2 -1,3 -3,3 h -1 -1 z"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none"
style="opacity:0.85;fill:currentColor;fill-opacity:1;stroke:none"
inkscape:connector-curvature="0"
class="ColorScheme-Background"
sodipodi:nodetypes="cccccccccssccc" />

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -200,10 +200,10 @@
<rect id="shadow-hint-bottom-margin" x="90" y="954.36224" width="3.9999998" height="6.0000229" fill="#f0f"/>
<rect id="shadow-hint-right-margin" transform="rotate(90)" x="930.36224" y="-120.00001" width="3.9999769" height="5.9999771" fill="#f0f"/>
<rect id="shadow-hint-left-margin" transform="rotate(90)" x="930.36224" y="-69.999985" width="4.0000229" height="6" fill="#f0f"/>
<rect y="904.36218" x="97" height="5.9999771" width="4" id="shadow-hint-top-inset" style="fill:#00ff00;fill-opacity:1;stroke:none"/>
<rect style="fill:#00ff00;fill-opacity:1;stroke:none" id="shadow-hint-bottom-inset" width="4" height="6.0000229" x="97" y="954.36218"/>
<rect transform="matrix(0,1,-1,0,0,0)" style="fill:#00ff00;fill-opacity:1;stroke:none" id="shadow-hint-right-inset" width="3.9999769" height="5.9999771" x="936.36218" y="-119.99998"/>
<rect transform="matrix(0,1,-1,0,0,0)" y="-70" x="936.36218" height="6" width="4.0000229" id="shadow-hint-left-inset" style="fill:#00ff00;fill-opacity:1;stroke:none"/>
<rect id="shadow-hint-top-inset" x="97" y="904.36218" width="4" height="5.9999771" fill="#0f0"/>
<rect id="shadow-hint-bottom-inset" x="97" y="954.36218" width="4" height="6.0000229" fill="#0f0"/>
<rect id="shadow-hint-right-inset" transform="rotate(90)" x="936.36218" y="-119.99998" width="3.9999769" height="5.9999771" fill="#0f0"/>
<rect id="shadow-hint-left-inset" transform="rotate(90)" x="936.36218" y="-70" width="4.0000229" height="6" fill="#0f0"/>
<rect id="mask-top" x="132" y="910.61218" width="27.499992" height="8.2499981" style="paint-order:normal"/>
<rect id="mask-center" x="132" y="918.86218" width="27.499992" height="27.499992" style="paint-order:normal"/>
<rect id="mask-bottom" transform="scale(1,-1)" x="132" y="-954.6123" width="27.499992" height="8.2499981" style="paint-order:normal"/>
@ -225,10 +225,10 @@
<g id="bottomright" transform="translate(0,-2.0185303e-5)">
<path id="rect4177-6" class="ColorScheme-Background" d="m51 954.36218v-6h6v3c0 2-1 3-3 3h-2z" fill="currentColor" opacity=".9"/>
</g>
<rect style="fill:#00ff00;fill-opacity:1;stroke:none" id="hint-top-inset" width="4" height="0.000001" x="33" y="904.36218"/>
<rect y="954.36218" x="33" height="0.000001" width="4" id="hint-bottom-inset" style="fill:#00ff00;fill-opacity:1;stroke:none"/>
<rect y="-63" x="930.36218" height="0.000001" width="4" id="hint-right-inset" style="fill:#00ff00;fill-opacity:1;stroke:none" transform="matrix(0,1,-1,0,0,0)"/>
<rect style="fill:#00ff00;fill-opacity:1;stroke:none" id="hint-left-inset" width="4" height="0.000001" x="930.36218" y="-13.000004" transform="matrix(0,1,-1,0,0,0)"/>
<rect id="hint-top-inset" x="33" y="904.36218" width="4" height="1e-6" fill="#0f0"/>
<rect id="hint-bottom-inset" x="33" y="954.36218" width="4" height="1e-6" fill="#0f0"/>
<rect id="hint-right-inset" transform="rotate(90)" x="930.36218" y="-63" width="4" height="1e-6" fill="#0f0"/>
<rect id="hint-left-inset" transform="rotate(90)" x="930.36218" y="-13.000004" width="4" height="1e-6" fill="#0f0"/>
<rect id="thick-hint-top-margin" x="34" y="910.36218" width="4.0000019" height="8.0000048" fill="#f0f"/>
<rect id="thick-hint-bottom-margin" x="30" y="946.36218" width="4" height="8.0001907" fill="#f0f"/>
<rect id="thick-hint-right-margin" transform="rotate(90)" x="932.36218" y="-56.999985" width="3.9999771" height="7.9999847" fill="#f0f"/>

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

@ -6,42 +6,42 @@
color:#eff0f1;
}</style>
<path id="hint-stretch-borders" d="m-7-7h5v5h-5z" opacity=".6"/>
<path id="header-center" class="ColorScheme-Background" d="m19 12h32v32h-32z" fill="currentColor" opacity=".75"/>
<path id="header-right" class="ColorScheme-Background" d="m51 12h6v32h-6z" fill="currentColor" opacity=".75"/>
<path id="header-top" class="ColorScheme-Background" transform="rotate(-90)" d="m-12 19h6v32h-6z" fill="currentColor" opacity=".75"/>
<path id="header-center" class="ColorScheme-Background" d="m19 12h32v32h-32z" fill="currentColor" />
<path id="header-right" class="ColorScheme-Background" d="m51 12h6v32h-6z" fill="currentColor" />
<path id="header-top" class="ColorScheme-Background" transform="rotate(-90)" d="m-12 19h6v32h-6z" fill="currentColor" />
<g id="header-bottom">
<path id="rect3152" class="ColorScheme-Background" fill="currentColor" transform="rotate(90)" d="m44-51h6v32h-6z" opacity=".75"/>
<path id="rect3152" class="ColorScheme-Background" fill="currentColor" transform="rotate(90)" d="m44-51h6v32h-6z" />
<path id="rect3154" class="ColorScheme-Text" fill="currentColor" transform="rotate(90)" d="m49-51h1v32h-1z" opacity=".15"/>
</g>
<path id="header-left" class="ColorScheme-Background" transform="scale(-1)" d="m-19-44h6v32h-6z" fill="currentColor" opacity=".75"/>
<path id="header-left" class="ColorScheme-Background" transform="scale(-1)" d="m-19-44h6v32h-6z" fill="currentColor" />
<g id="header-bottomright">
<path id="path3176" class="ColorScheme-Background" fill="currentColor" d="m57 44h-6v6h6v-5z" opacity=".75"/>
<path id="path3176" class="ColorScheme-Background" fill="currentColor" d="m57 44h-6v6h6v-5z" />
<path id="path3178" class="ColorScheme-Text" fill="currentColor" d="m57 49h-6v1h6c0-1-2e-5 0 0-1z" fill-rule="evenodd" opacity=".15"/>
</g>
<g id="header-bottomleft">
<path id="path3182" class="ColorScheme-Background" fill="currentColor" d="m19 50v-6h-6v6c6 4e-5 0 0 4 0h1z" opacity=".75"/>
<path id="path3182" class="ColorScheme-Background" fill="currentColor" d="m19 50v-6h-6v6c6 4e-5 0 0 4 0h1z" />
<path id="path3184" class="ColorScheme-Text" fill="currentColor" d="m19 50v-1h-4l-2-2e-5v1l2 2e-5h1z" fill-rule="evenodd" opacity=".15"/>
</g>
<path id="header-topleft" class="ColorScheme-Background" d="m16 6c-2 0-3 1-3 3v3h6v-6h-1 1z" fill="currentColor" opacity=".75"/>
<path id="header-topright" class="ColorScheme-Background" d="m51 6v6h6v-3c0-2-1-3-3-3h-2z" fill="currentColor" opacity=".75"/>
<path id="footer-center" class="ColorScheme-Background" transform="scale(1 -1)" d="m67-44h32v32h-32z" fill="currentColor" opacity=".75"/>
<path id="footer-right" class="ColorScheme-Background" transform="scale(1 -1)" d="m99-44h6v32h-6z" fill="currentColor" opacity=".75"/>
<path id="footer-bottom" class="ColorScheme-Background" transform="matrix(0 1 1 0 0 0)" d="m44 67h6v32h-6z" fill="currentColor" opacity=".75"/>
<path id="header-topleft" class="ColorScheme-Background" d="m16 6c-2 0-3 1-3 3v3h6v-6h-1 1z" fill="currentColor" />
<path id="header-topright" class="ColorScheme-Background" d="m51 6v6h6v-3c0-2-1-3-3-3h-2z" fill="currentColor" />
<path id="footer-center" class="ColorScheme-Background" transform="scale(1 -1)" d="m67-44h32v32h-32z" fill="currentColor" />
<path id="footer-right" class="ColorScheme-Background" transform="scale(1 -1)" d="m99-44h6v32h-6z" fill="currentColor" />
<path id="footer-bottom" class="ColorScheme-Background" transform="matrix(0 1 1 0 0 0)" d="m44 67h6v32h-6z" fill="currentColor" />
<g id="footer-top">
<path id="rect3152-0" class="ColorScheme-Background" fill="currentColor" transform="matrix(0 -1 -1 0 0 0)" d="m-12-99h6v32h-6z" opacity=".75"/>
<path id="rect3152-0" class="ColorScheme-Background" fill="currentColor" transform="matrix(0 -1 -1 0 0 0)" d="m-12-99h6v32h-6z" />
<path id="rect3154-9" class="ColorScheme-Text" fill="currentColor" transform="matrix(0 -1 -1 0 0 0)" d="m-7-99h1v32h-1z" opacity=".15"/>
</g>
<path id="footer-left" class="ColorScheme-Background" transform="scale(-1 1)" d="m-67 12h6v32h-6z" fill="currentColor" opacity=".75"/>
<path id="footer-left" class="ColorScheme-Background" transform="scale(-1 1)" d="m-67 12h6v32h-6z" fill="currentColor" />
<g id="footer-topright">
<path id="path3176-6" class="ColorScheme-Background" fill="currentColor" d="m105 12h-6v-6h6v5z" opacity=".75"/>
<path id="path3176-6" class="ColorScheme-Background" fill="currentColor" d="m105 12h-6v-6h6v5z" />
<path id="path3178-2" class="ColorScheme-Text" fill="currentColor" d="m105 7h-6v-1h6c0 1-2e-5 0 0 1z" fill-rule="evenodd" opacity=".15"/>
</g>
<g id="footer-topleft">
<path id="path3182-1" class="ColorScheme-Background" fill="currentColor" d="m67 6v6h-6v-6c6-4e-5 0 0 4 0h1z" opacity=".75"/>
<path id="path3182-1" class="ColorScheme-Background" fill="currentColor" d="m67 6v6h-6v-6c6-4e-5 0 0 4 0h1z" />
<path id="path3184-8" class="ColorScheme-Text" fill="currentColor" d="m67 6v1h-4l-2 2e-5v-1l2-2e-5h1z" fill-rule="evenodd" opacity=".15"/>
</g>
<path id="footer-bottomleft" class="ColorScheme-Background" d="m64 50c-2 0-3-1-3-3v-3h6v6h-1 1z" fill="currentColor" opacity=".75"/>
<path id="footer-bottomright" class="ColorScheme-Background" d="m99 50v-6h6v3c0 2-1 3-3 3h-2z" fill="currentColor" opacity=".75"/>
<path id="footer-bottomleft" class="ColorScheme-Background" d="m64 50c-2 0-3-1-3-3v-3h6v6h-1 1z" fill="currentColor" />
<path id="footer-bottomright" class="ColorScheme-Background" d="m99 50v-6h6v3c0 2-1 3-3 3h-2z" fill="currentColor" />
<path id="hint-top-margin" d="m33 12h4v6h-4z" fill="#f0f"/>
<path id="hint-bottom-margin" d="m33 38h4v6h-4z" fill="#f0f"/>
<path id="hint-right-margin" transform="rotate(90)" d="m26-51h4v6h-4z" fill="#f0f"/>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -63,6 +63,7 @@ ThemePrivate::ThemePrivate(QObject *parent)
backgroundIntensity(qQNaN()),
backgroundSaturation(qQNaN()),
backgroundContrastEnabled(true),
adaptiveTransparencyEnabled(false),
blurBehindEnabled(true),
apiMajor(1),
apiMinor(0),
@ -753,6 +754,18 @@ void ThemePrivate::processContrastSettings(KConfigBase *metadata)
}
}
void ThemePrivate::processAdaptiveTransparencySettings(KConfigBase *metadata)
{
KConfigGroup cg;
if (metadata->hasGroup("AdaptiveTransparency")) {
cg = KConfigGroup(metadata, "ContrastEffect");
adaptiveTransparencyEnabled = cg.readEntry("enabled", false);
} else {
adaptiveTransparencyEnabled = false;
}
}
void ThemePrivate::processBlurBehindSettings(KConfigBase *metadata)
{
KConfigGroup cg;
@ -832,6 +845,7 @@ void ThemePrivate::setThemeName(const QString &tempThemeName, bool writeSettings
processContrastSettings(&metadata);
processBlurBehindSettings(&metadata);
processAdaptiveTransparencySettings(&metadata);
processWallpaperSettings(&metadata);

View File

@ -64,6 +64,7 @@ public:
void setThemeName(const QString &themeName, bool writeSettings, bool emitChanged);
void processWallpaperSettings(KConfigBase *metadata);
void processContrastSettings(KConfigBase *metadata);
void processAdaptiveTransparencySettings(KConfigBase *metadata);
void processBlurBehindSettings(KConfigBase *metadata);
const QString processStyleSheet(const QString &css, Plasma::Svg::Status status);
@ -142,6 +143,7 @@ public:
qreal backgroundIntensity;
qreal backgroundSaturation;
bool backgroundContrastEnabled;
bool adaptiveTransparencyEnabled;
bool blurBehindEnabled;
//Version number of Plasma the Theme has been designed for

View File

@ -414,6 +414,11 @@ bool Theme::backgroundContrastEnabled() const
return d->backgroundContrastEnabled;
}
bool Theme::adaptiveTransparencyEnabled() const
{
return d->adaptiveTransparencyEnabled;
}
qreal Theme::backgroundContrast() const
{
if (qIsNaN(d->backgroundContrast)) {

View File

@ -366,6 +366,21 @@ public:
*/
bool backgroundContrastEnabled() const;
/** This method allows Plasma to enable and disable the adaptive
* transparency option of the panel, which allows user to decide
* whether the panel should be always transparent, always opaque
* or only opaque when a window is maximized.
* The configuration in the metadata.desktop file of the theme
* could look like this (for a lighter background):
* \code
* [AdaptiveTransparency]
* enabled=true
* \endcode
* @return Whether or not to enable the adaptive transparency
* @since 5.20
*/
bool adaptiveTransparencyEnabled() const;
/** This method allows Plasma to set a background contrast effect
* for a given theme, improving readability. The value is read
* from the "contrast" key in the "ContrastEffect" group in the

View File

@ -228,10 +228,14 @@ void DialogPrivate::updateTheme()
q->setMask(QRegion());
DialogShadows::self()->removeWindow(q);
} else {
auto prefix = QStringLiteral("");
if ((backgroundHints & Dialog::SolidBackground) == Dialog::SolidBackground) {
prefix = QStringLiteral("solid/");
}
if (type == Dialog::Tooltip) {
frameSvgItem->setImagePath(QStringLiteral("widgets/tooltip"));
frameSvgItem->setImagePath(prefix + QStringLiteral("widgets/tooltip"));
} else {
frameSvgItem->setImagePath(QStringLiteral("dialogs/background"));
frameSvgItem->setImagePath(prefix + QStringLiteral("dialogs/background"));
}
KWindowEffects::enableBlurBehind(q->winId(), theme.blurBehindEnabled(), frameSvgItem->mask());
@ -758,10 +762,14 @@ void DialogPrivate::applyType()
if (backgroundHints == Dialog::NoBackground) {
frameSvgItem->setImagePath(QString());
} else {
auto prefix = QStringLiteral("");
if ((backgroundHints & Dialog::SolidBackground) == Dialog::SolidBackground) {
prefix = QStringLiteral("solid/");
}
if (type == Dialog::Tooltip) {
frameSvgItem->setImagePath(QStringLiteral("widgets/tooltip"));
frameSvgItem->setImagePath(prefix + QStringLiteral("widgets/tooltip"));
} else {
frameSvgItem->setImagePath(QStringLiteral("dialogs/background"));
frameSvgItem->setImagePath(prefix + QStringLiteral("dialogs/background"));
}
}

View File

@ -159,7 +159,8 @@ public:
enum BackgroundHints {
NoBackground = 0, /**< Not drawing a background under the applet, the dialog has its own implementation */
StandardBackground = 1 /**< The standard background from the theme is drawn */
StandardBackground = 1, /**< The standard background from the theme is drawn */
SolidBackground = 2, /**< The solid version of the background is preferred */
};
Q_ENUM(BackgroundHints)