* set colors for Online, Friends, Network and set First Tab of Peer Details to first

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@954 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-01-25 22:58:15 +00:00
parent abc176f44e
commit 4eddc7b3f9
2 changed files with 18 additions and 2 deletions

View File

@ -509,9 +509,17 @@
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QTabWidget" name="stabWidget" > <widget class="QTabWidget" name="stabWidget" >
<property name="currentIndex" > <property name="currentIndex" >
<number>1</number> <number>0</number>
</property> </property>
<widget class="QWidget" name="tab" > <widget class="QWidget" name="tab" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>469</width>
<height>335</height>
</rect>
</property>
<attribute name="title" > <attribute name="title" >
<string>Details</string> <string>Details</string>
</attribute> </attribute>
@ -715,6 +723,14 @@
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab" > <widget class="QWidget" name="tab" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>469</width>
<height>335</height>
</rect>
</property>
<attribute name="title" > <attribute name="title" >
<string>Trust Settings</string> <string>Trust Settings</string>
</attribute> </attribute>

View File

@ -76,7 +76,7 @@ void PeerStatus::setPeerStatus()
int others = 1 + ids.size(); int others = 1 + ids.size();
std::ostringstream out2; std::ostringstream out2;
out2 << "Online: " << online << " | Friends: " << friends << " | Network: " << others << " "; out2 << "<span style=\"color:#008000\"><strong>Online: </strong></span>" << online << " | <span style=\"color:#0000FF\"><strong>Friends: </strong></span>" << friends << " | <span style=\"color:FF0033\"><strong>Network: </strong></span>" << others << " ";
if (statusPeers) if (statusPeers)