mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-19 21:04:32 -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,9 +98,16 @@ void PeerItem::updateItemStatic()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
title += QString::fromStdString(details.name);
|
|
||||||
titleLabel->setText(title);
|
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 */
|
/* expanded Info */
|
||||||
nameLabel->setText(QString::fromStdString(details.name));
|
nameLabel->setText(QString::fromStdString(details.name));
|
||||||
idLabel->setText(QString::fromStdString(details.id));
|
idLabel->setText(QString::fromStdString(details.id));
|
||||||
|
@ -86,6 +86,16 @@ border-radius: 10px}</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</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>
|
<item>
|
||||||
<spacer>
|
<spacer>
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
Loading…
Reference in New Issue
Block a user