[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdereview/rememberthemilk/applet
From: Andrew Stromme <astromme () chatonka ! com>
Date: 2009-04-30 21:14:15
Message-ID: 1241126055.832641.7721.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 961884 by astromme:
Tweak colors to be slightly more vibrant and match the rtm colors more
M +0 -1 rememberthemilk-plasmoid.cpp
M +4 -4 taskitemdelegate.cpp
--- trunk/kdereview/rememberthemilk/applet/rememberthemilk-plasmoid.cpp #961883:961884
@@ -224,7 +224,6 @@
m_model->listUpdate(key.toULongLong());
}
int current = config().readEntry("CurrentList").toInt();
- kDebug() << current << m_categoriesBar->count();
if (m_categoriesBar->count() >= current) {
m_categoriesBar->setCurrentIndex(current);
listChanged(current); // doesn't always update.. i.e if current is actually the current
--- trunk/kdereview/rememberthemilk/applet/taskitemdelegate.cpp #961883:961884
@@ -67,19 +67,19 @@
{
QFontMetrics fm = QApplication::fontMetrics();
painter->save();
- painter->setOpacity(.25);
+ painter->setOpacity(.5);
QLinearGradient gradient(option.rect.topLeft(), option.rect.bottomRight());
gradient.setColorAt(1, Qt::transparent);
switch (index.data(Qt::RTMPriorityRole).toInt()) { // Set color based on priority
case 1:
- gradient.setColorAt(0, Qt::red);
+ gradient.setColorAt(0, QColor(255, 123, 0)); // reddish-orange
break;
case 2:
- gradient.setColorAt(0, Qt::blue);
+ gradient.setColorAt(0, QColor(0, 132, 255)); // Darker blue
break;
case 3:
- gradient.setColorAt(0, Qt::cyan);
+ gradient.setColorAt(0, QColor(53, 201, 255)); // Ligher Blue
break;
case 4:
gradient.setColorAt(0, Plasma::Theme::defaultTheme()->color(Plasma::Theme::HighlightColor));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic