mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-26 03:10:58 -04:00
Added new friend request toaster from defnax.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5120 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
586e8bc042
commit
9501a4fe2c
14 changed files with 419 additions and 52 deletions
|
@ -122,7 +122,7 @@ background-color: #2291E0;
|
|||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
<string notr="true">TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -118,14 +118,14 @@ void SecurityItem::updateItemStatic()
|
|||
{
|
||||
case SEC_TYPE_CONNECT_ATTEMPT:
|
||||
title = tr("Connect Attempt");
|
||||
request_label->show();
|
||||
request_label->setText(requesttext.arg(tr("wants to be friends with you on RetroShare")));
|
||||
request_label->show();
|
||||
request_label->setText(requesttext.arg(tr("wants to be friend with you on RetroShare")));
|
||||
avatar->setDefaultAvatar(":images/avatar_request.png");
|
||||
break;
|
||||
case SEC_TYPE_AUTH_DENIED:
|
||||
title = tr("Not Yet Friends");
|
||||
request_label->hide();
|
||||
avatar->setDefaultAvatar(":images/avatar_request.png");
|
||||
avatar->setDefaultAvatar(":images/avatar_request.png");
|
||||
break;
|
||||
case SEC_TYPE_UNKNOWN_IN:
|
||||
title = tr("Unknown (Incoming) Connect Attempt");
|
||||
|
|
|
@ -119,11 +119,7 @@ border-radius: 10px}</string>
|
|||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="request_label">
|
||||
<property name="text">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; color:#000000;">TextLabel</span></p></body></html></string>
|
||||
<string notr="true">TextLabel</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue