[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes/src/widgets
From: Unai Garro <ugarro () telefonica ! net>
Date: 2004-03-20 21:57:37
Message-ID: 20040320215737.68A5E999A () office ! kde ! org
[Download RAW message or body]
CVS commit by uga:
Honor the user's settings for highlighting text
M +1 -0 krelistview.cpp 1.6
M +2 -1 kremenu.cpp 1.24
--- kdenonbeta/krecipes/src/widgets/krelistview.cpp #1.5:1.6
@@ -26,4 +26,5 @@ KreListView::KreListView(QWidget *parent
listLabel->setFrameShape(QFrame::GroupBoxPanel);
listLabel->setFrameShadow(QFrame::Sunken);
+ listLabel->setPaletteForegroundColor(KGlobalSettings::highlightedTextColor());
listLabel->setPaletteBackgroundColor(KGlobalSettings::highlightColor().light(120)); \
// 120, to match the kremenu settings listLabel->setText(title);
--- kdenonbeta/krecipes/src/widgets/kremenu.cpp #1.23:1.24
@@ -503,5 +503,6 @@ if (!isShown()) return;
painter.begin(&kpm);
- painter.setPen(QColor(0x00,0x00,0x00));
+ if (highlighted) painter.setPen(KGlobalSettings::highlightedTextColor());
+ else painter.setPen(KGlobalSettings::textColor());
painter.setClipRect(r);
painter.drawText(r,Qt::AlignVCenter,text);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic