|
|
|
@ -1819,9 +1819,9 @@ void KLegacyStyle::polish(TQApplication *app) {
|
|
|
|
|
brush.setColor(gobj->backColor(KLegacy::Active));
|
|
|
|
|
pal.setBrush(TQPalette::Active, TQColorGroup::Button, brush);
|
|
|
|
|
|
|
|
|
|
brush = pal.brush(TQPalette::Normal, TQColorGroup::Button);
|
|
|
|
|
brush = pal.brush(TQPalette::Active, TQColorGroup::Button);
|
|
|
|
|
brush.setColor(gobj->backColor(KLegacy::Normal));
|
|
|
|
|
pal.setBrush(TQPalette::Normal, TQColorGroup::Button, brush);
|
|
|
|
|
pal.setBrush(TQPalette::Active, TQColorGroup::Button, brush);
|
|
|
|
|
|
|
|
|
|
brush = pal.brush(TQPalette::Disabled, TQColorGroup::Button);
|
|
|
|
|
brush.setColor(gobj->backColor(KLegacy::Insensitive));
|
|
|
|
@ -3275,11 +3275,11 @@ bool KLegacyStyle::eventFilter(TQObject *obj, TQEvent *e) {
|
|
|
|
|
|
|
|
|
|
if (pix && (! pix->isNull())) {
|
|
|
|
|
TQPalette pal = w->palette();
|
|
|
|
|
TQBrush brush = pal.brush(TQPalette::Normal,
|
|
|
|
|
TQBrush brush = pal.brush(TQPalette::Active,
|
|
|
|
|
TQColorGroup::Background);
|
|
|
|
|
|
|
|
|
|
brush.setPixmap(*pix);
|
|
|
|
|
pal.setBrush(TQPalette::Normal,
|
|
|
|
|
pal.setBrush(TQPalette::Active,
|
|
|
|
|
TQColorGroup::Background, brush);
|
|
|
|
|
|
|
|
|
|
w->setPalette(pal);
|
|
|
|
@ -3303,11 +3303,11 @@ bool KLegacyStyle::eventFilter(TQObject *obj, TQEvent *e) {
|
|
|
|
|
|
|
|
|
|
if (pix && (! pix->isNull())) {
|
|
|
|
|
TQPalette pal = w->palette();
|
|
|
|
|
TQBrush brush = pal.brush(TQPalette::Normal,
|
|
|
|
|
TQBrush brush = pal.brush(TQPalette::Active,
|
|
|
|
|
TQColorGroup::Background);
|
|
|
|
|
|
|
|
|
|
brush.setPixmap(*pix);
|
|
|
|
|
pal.setBrush(TQPalette::Normal,
|
|
|
|
|
pal.setBrush(TQPalette::Active,
|
|
|
|
|
TQColorGroup::Background, brush);
|
|
|
|
|
|
|
|
|
|
w->setPalette(pal);
|
|
|
|
|