changend network icon

set different icon color for avaible

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1143 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-04-29 15:48:01 +00:00
parent 98835897cc
commit 1cc8639305
7 changed files with 14 additions and 3 deletions

View File

@ -73,6 +73,7 @@
/* Images for toolbar icons */
#define IMAGE_NETWORK ":/images/retrosharelogo1.png"
#define IMAGE_NETWORK2 ":/images/rs1.png"
#define IMAGE_PEERS ":/images/groupchat.png"
#define IMAGE_SEARCH ":/images/filefind.png"
#define IMAGE_TRANSFERS ":/images/ktorrent32.png"
@ -175,7 +176,7 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
ui.stackPages->add(networkDialog = new NetworkDialog(ui.stackPages),
createPageAction(QIcon(IMAGE_NETWORK), tr("Network"), grp));
createPageAction(QIcon(IMAGE_NETWORK2), tr("Network"), grp));
ui.stackPages->add(peersDialog = new PeersDialog(ui.stackPages),

View File

@ -72,6 +72,8 @@
#define IMAGE_ONLINE ":/images/user/identity24.png"
#define IMAGE_OFFLINE ":/images/user/identityoffline24.png"
#define IMAGE_OFFLINE2 ":/images/user/identitylightgrey24.png"
#define IMAGE_AVAIBLE ":/images/user/identityavaiblecyan24.png"
#define IMAGE_CONNECT2 ":/images/reload24.png"
/******
@ -368,8 +370,12 @@ void PeersDialog::insertPeers()
/* bright green */
for(i = 1; i < 8; i++)
{
item -> setBackground(i,QBrush(Qt::cyan));
item -> setIcon(0,(QIcon(IMAGE_OFFLINE)));
//item -> setBackground(i,QBrush(Qt::cyan));
item -> setTextColor(i,(Qt::darkCyan));
QFont font ;
font.setBold(true);
item -> setFont(i,font);
item -> setIcon(0,(QIcon(IMAGE_AVAIBLE)));
}
}
else
@ -603,6 +609,7 @@ void PeersDialog::connectfriend()
if (rsPeers)
{
rsPeers->connectAttempt(getPeerRsCertId(c));
c -> setIcon(0,(QIcon(IMAGE_CONNECT2)));
}
}

View File

@ -252,12 +252,14 @@
<file>images/replymail24-hover.png</file>
<file>images/replymail24.png</file>
<file>images/replymailall24-hover.png</file>
<file>images/reload24.png</file>
<file>images/reset.png</file>
<file>images/retro4.png</file>
<file>images/RetroShare16.png</file>
<file>images/retrosharelogo1.png</file>
<file>images/retrosharelogo2.png</file>
<file>images/retrosharelogo32.png</file>
<file>images/rs1.png</file>
<file>images/rs-2.png</file>
<file>images/rsmessenger16.png</file>
<file>images/rsmessenger32.png</file>
@ -311,6 +313,7 @@
<file>images/user/identity24.png</file>
<file>images/user/identityoffline24.png</file>
<file>images/user/identitylightgrey24.png</file>
<file>images/user/identityavaiblecyan24.png</file>
<file>images/user/agt_forum24.png</file>
<file>images/user/identity32.png</file>
<file>images/user/add_user16.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB