From 8079a6d454febdd89df91716e5dfdcaa5164fc4e Mon Sep 17 00:00:00 2001 From: joss17 Date: Sat, 27 Feb 2010 21:44:04 +0000 Subject: [PATCH] color adjustement for the network dialog git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2456 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/NetworkDialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/retroshare-gui/src/gui/NetworkDialog.cpp b/retroshare-gui/src/gui/NetworkDialog.cpp index b9b46705d..3696c05e6 100644 --- a/retroshare-gui/src/gui/NetworkDialog.cpp +++ b/retroshare-gui/src/gui/NetworkDialog.cpp @@ -443,11 +443,11 @@ void NetworkDialog::insertConnect() if (detail.ownsign) { item -> setText(0, "0"); item -> setIcon(0,(QIcon(IMAGE_AUTHED))); - backgrndcolor=Qt::green; + backgrndcolor=QColor("#45ff45");//bright green } else { item -> setText(0, "0"); item -> setIcon(0,(QIcon(IMAGE_AUTHED))); - backgrndcolor=QColor("#20A020");//(#108010) light green + backgrndcolor=QColor("#43C043");//light green } } else @@ -455,14 +455,14 @@ void NetworkDialog::insertConnect() item -> setText(0, "1"); if (detail.hasSignedMe) { - backgrndcolor=Qt::darkCyan; + backgrndcolor=QColor("#42B2B2"); //kind of darkCyan item -> setIcon(0,(QIcon(IMAGE_DENIED))); for(int k=0;k<8;++k) item -> setToolTip(k,QString::fromStdString(detail.name) + QString(tr(" has authenticated you. \nRight-click and select 'make friend' to be able to connect."))) ; } else { - backgrndcolor=Qt::darkGray; + backgrndcolor=Qt::lightGray; item -> setIcon(0,(QIcon(IMAGE_DENIED))); } } @@ -492,7 +492,7 @@ void NetworkDialog::insertConnect() // Color each Background column in the Network Tab except the first one => 1-9 for(int i=0;i<10;++i) { - self_item->setBackground(i,QBrush(Qt::green)); + self_item->setBackground(i,QBrush(QColor("#45ff45"))); } validItems.append(self_item);