Added new higher resolution bullet icons with better quality
@ -452,16 +452,16 @@ void ChatLobbyDialog::updateParticipantsList()
|
||||
time_t now = time(NULL);
|
||||
|
||||
if(isParticipantMuted(it2->first))
|
||||
widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_red_64.png"));
|
||||
widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_red_128.png"));
|
||||
else if (tLastAct + timeToInactivity < now)
|
||||
widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_grey_64.png"));
|
||||
widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_grey_128.png"));
|
||||
else
|
||||
widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_green_64.png"));
|
||||
widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_green_128.png"));
|
||||
|
||||
RsGxsId gxs_id;
|
||||
rsMsgs->getIdentityForChatLobby(lobbyId, gxs_id);
|
||||
|
||||
if (RsGxsId(participant.toStdString()) == gxs_id) widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_yellow_64.png"));
|
||||
if (RsGxsId(participant.toStdString()) == gxs_id) widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_yellow_128.png"));
|
||||
|
||||
QTime qtLastAct=QTime(0,0,0).addSecs(now-tLastAct);
|
||||
widgetitem->setToolTip(COLUMN_ICON,tr("Right click to mute/unmute participants<br/>Double click to address this person<br/>")
|
||||
|
@ -7,10 +7,10 @@
|
||||
<file>icons/blank_green_128.png</file>
|
||||
<file>icons/browsable_blue_128.png</file>
|
||||
<file>icons/browsable_green_128.png</file>
|
||||
<file>icons/bullet_green_64.png</file>
|
||||
<file>icons/bullet_grey_64.png</file>
|
||||
<file>icons/bullet_red_64.png</file>
|
||||
<file>icons/bullet_yellow_64.png</file>
|
||||
<file>icons/bullet_green_128.png</file>
|
||||
<file>icons/bullet_grey_128.png</file>
|
||||
<file>icons/bullet_red_128.png</file>
|
||||
<file>icons/bullet_yellow_128.png</file>
|
||||
<file>icons/channels_128.png</file>
|
||||
<file>icons/channels_red_128.png</file>
|
||||
<file>icons/chat_128.png</file>
|
||||
@ -68,5 +68,6 @@
|
||||
<file>icons/yandex.png</file>
|
||||
<file>icons/tor-on.png</file>
|
||||
<file>icons/tor-logo.png</file>
|
||||
<file>icons/tor-off.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
BIN
retroshare-gui/src/gui/icons/bullet_green_128.png
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 7.9 KiB |
BIN
retroshare-gui/src/gui/icons/bullet_grey_128.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 6.9 KiB |
BIN
retroshare-gui/src/gui/icons/bullet_red_128.png
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 7.9 KiB |
BIN
retroshare-gui/src/gui/icons/bullet_yellow_128.png
Normal file
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 8.4 KiB |
@ -79,7 +79,7 @@ void DHTStatus::getDHTStatus()
|
||||
if (!(config.DHTActive))
|
||||
{
|
||||
// GRAY.
|
||||
dhtstatusLabel->setPixmap(QPixmap(":/icons/bullet_grey_64.png").scaledToHeight(S,Qt::SmoothTransformation));
|
||||
dhtstatusLabel->setPixmap(QPixmap(":/icons/bullet_grey_128.png").scaledToHeight(S,Qt::SmoothTransformation));
|
||||
dhtstatusLabel->setToolTip( text + tr("DHT Off"));
|
||||
|
||||
spaceLabel->setVisible(false);
|
||||
@ -97,7 +97,7 @@ void DHTStatus::getDHTStatus()
|
||||
// YELLOW or GREEN.
|
||||
if (config.netDhtRsNetSize < MIN_RS_NET_SIZE)
|
||||
{
|
||||
dhtstatusLabel->setPixmap(QPixmap(":/icons/bullet_yellow_64.png").scaledToHeight(S,Qt::SmoothTransformation));
|
||||
dhtstatusLabel->setPixmap(QPixmap(":/icons/bullet_yellow_128.png").scaledToHeight(S,Qt::SmoothTransformation));
|
||||
dhtstatusLabel->setToolTip( text + tr("DHT Searching for RetroShare Peers"));
|
||||
|
||||
spaceLabel->setVisible(true);
|
||||
@ -109,7 +109,7 @@ void DHTStatus::getDHTStatus()
|
||||
}
|
||||
else
|
||||
{
|
||||
dhtstatusLabel->setPixmap(QPixmap(":/icons/bullet_green_64.png").scaledToHeight(S,Qt::SmoothTransformation));
|
||||
dhtstatusLabel->setPixmap(QPixmap(":/icons/bullet_green_128.png").scaledToHeight(S,Qt::SmoothTransformation));
|
||||
dhtstatusLabel->setToolTip( text + tr("DHT Good"));
|
||||
|
||||
spaceLabel->setVisible(true);
|
||||
|
@ -63,14 +63,14 @@ void NATStatus::getNATStatus()
|
||||
default:
|
||||
case RSNET_NETSTATE_BAD_UNKNOWN:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_yellow_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_yellow_128.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("Network Status Unknown")) ;
|
||||
}
|
||||
break ;
|
||||
|
||||
case RSNET_NETSTATE_BAD_OFFLINE:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_grey_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_grey_129.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("Offline")) ;
|
||||
}
|
||||
break ;
|
||||
@ -78,14 +78,14 @@ void NATStatus::getNATStatus()
|
||||
// BAD. (RED)
|
||||
case RSNET_NETSTATE_BAD_NATSYM:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_red_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_red_128.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("Nasty Firewall")) ;
|
||||
}
|
||||
break ;
|
||||
|
||||
case RSNET_NETSTATE_BAD_NODHT_NAT:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_red_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_red_128.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("DHT Disabled and Firewalled")) ;
|
||||
}
|
||||
break ;
|
||||
@ -93,21 +93,21 @@ void NATStatus::getNATStatus()
|
||||
// CAUTION. (ORANGE)
|
||||
case RSNET_NETSTATE_WARNING_RESTART:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_yellow_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_yellow_128.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("Network Restarting")) ;
|
||||
}
|
||||
break ;
|
||||
|
||||
case RSNET_NETSTATE_WARNING_NATTED:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_yellow_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_yellow_128.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("Behind Firewall")) ;
|
||||
}
|
||||
break ;
|
||||
|
||||
case RSNET_NETSTATE_WARNING_NODHT:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_yellow_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_yellow_128.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("DHT Disabled")) ;
|
||||
}
|
||||
break ;
|
||||
@ -115,14 +115,14 @@ void NATStatus::getNATStatus()
|
||||
// GOOD (GREEN)
|
||||
case RSNET_NETSTATE_GOOD:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_green_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_green_128.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("RetroShare Server")) ;
|
||||
}
|
||||
break ;
|
||||
|
||||
case RSNET_NETSTATE_ADV_FORWARD:
|
||||
{
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_green_64.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setPixmap(QPixmap(":/icons/bullet_green_128.png").scaledToHeight(S,Qt::SmoothTransformation)) ;
|
||||
iconLabel->setToolTip( text + tr("Forwarded Port")) ;
|
||||
}
|
||||
break ;
|
||||
|