mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
98835897cc
commit
1cc8639305
@ -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),
|
||||
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
BIN
retroshare-gui/src/gui/images/reload24.png
Normal file
BIN
retroshare-gui/src/gui/images/reload24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
retroshare-gui/src/gui/images/rs1.png
Normal file
BIN
retroshare-gui/src/gui/images/rs1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
BIN
retroshare-gui/src/gui/images/user/identityavaible24.png
Normal file
BIN
retroshare-gui/src/gui/images/user/identityavaible24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
retroshare-gui/src/gui/images/user/identityavaiblecyan24.png
Normal file
BIN
retroshare-gui/src/gui/images/user/identityavaiblecyan24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user