summaryrefslogtreecommitdiffstats
path: root/qt-ui/kmessagewidget.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-17 22:52:04 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-17 22:52:04 -0300
commit7509360173b7434a9cbf4c8d6542b322938407d2 (patch)
treef745e7f682b9a855d4ebfead5c33dea0f8414768 /qt-ui/kmessagewidget.cpp
parent86021b24d98c385b10ccc2fefab5cf22f3a03b54 (diff)
downloadsubsurface-7509360173b7434a9cbf4c8d6542b322938407d2.tar.gz
Prettification of the map view.
Just some prettifications, better defaults, etc. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/kmessagewidget.cpp')
-rw-r--r--qt-ui/kmessagewidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-ui/kmessagewidget.cpp b/qt-ui/kmessagewidget.cpp
index 653d52f4f..dc200654e 100644
--- a/qt-ui/kmessagewidget.cpp
+++ b/qt-ui/kmessagewidget.cpp
@@ -217,22 +217,22 @@ void KMessageWidget::setMessageType(KMessageWidget::MessageType type)
switch (type) {
case Positive:
- bg1 = QColor(Qt::green);
+ bg1 = QColor("#72D594"); // nice green
fg = QColor(Qt::white);
break;
case Information:
- bg1 = QColor(Qt::blue);
+ bg1 = QColor("#41A8E3"); // nice blue
fg = QColor(Qt::black);
break;
case Warning:
- bg1 = QColor(Qt::yellow);
+ bg1 = QColor("#72D594"); // nice yellow
fg = QColor(Qt::black);
break;
case Error:
- bg1 = QColor(Qt::red);
+ bg1 = QColor("#E4B7B7"); // nice red.
fg = QColor(Qt::black);
break;
}
@@ -240,7 +240,7 @@ void KMessageWidget::setMessageType(KMessageWidget::MessageType type)
// Colors
bg0 = bg1.lighter(110);
bg2 = bg1.darker(110);
- border = QColor(Qt::black);
+ border = bg2.darker(110);
d->content->setStyleSheet(
QString(".QFrame {"
"background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,"