|
|
|
@ -933,9 +933,9 @@ namespace Breeze |
|
|
|
auto transparent = neutalHighlight ? neutralText(palette) : palette.highlight().color(); |
|
|
|
auto transparent = neutalHighlight ? neutralText(palette) : palette.highlight().color(); |
|
|
|
transparent.setAlphaF(0.50); |
|
|
|
transparent.setAlphaF(0.50); |
|
|
|
|
|
|
|
|
|
|
|
painter->setPen( transparentize( palette.text().color(), 0.5 ) ); |
|
|
|
painter->setPen( QPen(transparentize( palette.text().color(), 0.5 ), PenWidth::Frame) ); |
|
|
|
if (state == RadioOn) { |
|
|
|
if (state == RadioOn) { |
|
|
|
painter->setPen( neutalHighlight ? neutralText(palette) : palette.highlight().color() ); |
|
|
|
painter->setPen( QPen(neutalHighlight ? neutralText(palette) : palette.highlight().color(), PenWidth::Frame) ); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
switch (state) { |
|
|
|
switch (state) { |
|
|
|
@ -1029,7 +1029,7 @@ namespace Breeze |
|
|
|
// content
|
|
|
|
// content
|
|
|
|
if( color.isValid() ) |
|
|
|
if( color.isValid() ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
painter->setPen( color ); |
|
|
|
painter->setPen( QPen(color, PenWidth::Frame) ); |
|
|
|
auto bg = color; |
|
|
|
auto bg = color; |
|
|
|
bg.setAlphaF(bg.alphaF() / 2); |
|
|
|
bg.setAlphaF(bg.alphaF() / 2); |
|
|
|
painter->setBrush( bg ); |
|
|
|
painter->setBrush( bg ); |
|
|
|
@ -1104,7 +1104,7 @@ namespace Breeze |
|
|
|
if( outline.isValid() ) |
|
|
|
if( outline.isValid() ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
painter->setPen( outline ); |
|
|
|
painter->setPen( QPen(outline, PenWidth::Frame) ); |
|
|
|
frameRect = strokedRect( frameRect ); |
|
|
|
frameRect = strokedRect( frameRect ); |
|
|
|
|
|
|
|
|
|
|
|
} else painter->setPen( Qt::NoPen ); |
|
|
|
} else painter->setPen( Qt::NoPen ); |
|
|
|
@ -1134,7 +1134,7 @@ namespace Breeze |
|
|
|
// content
|
|
|
|
// content
|
|
|
|
if( fg.isValid() ) |
|
|
|
if( fg.isValid() ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
painter->setPen( fg ); |
|
|
|
painter->setPen( QPen(fg, PenWidth::Frame) ); |
|
|
|
painter->setBrush( KColorUtils::overlayColors(bg, alphaColor(fg, 0.5)) ); |
|
|
|
painter->setBrush( KColorUtils::overlayColors(bg, alphaColor(fg, 0.5)) ); |
|
|
|
painter->drawRoundedRect( baseRect, radius, radius ); |
|
|
|
painter->drawRoundedRect( baseRect, radius, radius ); |
|
|
|
} |
|
|
|
} |
|
|
|
|