mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-19 12:54:24 -05:00
Added for Peer name own Label to display bether Friend's names for News Feed's PeerItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2973 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
89a6142a9b
commit
a5cc8d7ba2
@ -98,8 +98,15 @@ void PeerItem::updateItemStatic()
|
||||
break;
|
||||
}
|
||||
|
||||
title += QString::fromStdString(details.name);
|
||||
titleLabel->setText(title);
|
||||
|
||||
/* set textcolor for peername */
|
||||
QString nameStr("<span style=\"font-size:14pt; font-weight:500;"
|
||||
"color:white;\">%1</span>");
|
||||
|
||||
/* set Blog name */
|
||||
QString peername = QString::fromStdString(details.name);
|
||||
peernameLabel->setText(nameStr.arg(peername));
|
||||
|
||||
/* expanded Info */
|
||||
nameLabel->setText(QString::fromStdString(details.name));
|
||||
|
@ -86,6 +86,16 @@ border-radius: 10px}</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="peernameLabel">
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Peer Name</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation">
|
||||
|
Loading…
Reference in New Issue
Block a user