added help string for relays

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6824 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-10-13 12:02:50 +00:00
parent 7d3f8b5c10
commit cf8d6682da
2 changed files with 14 additions and 1 deletions

View File

@ -59,6 +59,19 @@ RelayPage::RelayPage(QWidget * parent, Qt::WFlags flags)
#endif #endif
} }
QString RelayPage::helpText() const
{
return tr("<h1><img width=\"24\" src=\":/images/64px_help.png\">&nbsp;&nbsp;Relays</h1> \
<p>By activating relays, you allow your Retroshare node to act as a bridge between Retroshare \
users who cannot connect directly, e.g. because they're firewalled.</p> \
<p>You may choose to act as a relay by checking <i>enable relay connections</i>, or simply \
benefit from other peers acting as relay, by checking <i>use relay servers</i>. For the former,\
you may specify the bandwidth allocated when acting as a relay for friends of you, for friends \
of your friends, or anyone in the Retroshare network.</p> \
<p>In any case, a Retroshare node acting as a relay cannot see the relayed traffic, since it \
is encrypted and authenticated by the two relayed nodes.</p>") ;
}
/** Saves the changes on this page */ /** Saves the changes on this page */
bool RelayPage::save(QString &/*errmsg*/) bool RelayPage::save(QString &/*errmsg*/)
{ {

View File

@ -42,7 +42,7 @@ class RelayPage: public ConfigPage
virtual QPixmap iconPixmap() const { return QPixmap(":/images/server_24x24.png") ; } virtual QPixmap iconPixmap() const { return QPixmap(":/images/server_24x24.png") ; }
virtual QString pageName() const { return tr("Relay") ; } virtual QString pageName() const { return tr("Relay") ; }
virtual QString helpText() const { return ""; } virtual QString helpText() const ;
public slots: public slots:
void updateRelayOptions(); void updateRelayOptions();