added help string to plugins page

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6823 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-10-13 11:43:15 +00:00
parent 5879613e85
commit 7d3f8b5c10
2 changed files with 13 additions and 1 deletions

View File

@ -147,6 +147,18 @@ PluginsPage::PluginsPage(QWidget * parent, Qt::WFlags flags)
QObject::connect(ui.enableAll,SIGNAL(toggled(bool)),this,SLOT(toggleEnableAll(bool))) ;
}
QString PluginsPage::helpText() const
{
return tr("<h1><img width=\"24\" src=\":/images/64px_help.png\">&nbsp;&nbsp;Plugins</h1> \
<p>Plugins are loaded from the directories listed in the bottom list.</p> \
<p>For security reasons, accepted plugins load automatically until \
the main Retroshare executable or the plugin library changes. In \
such a case, the user needs to confirm them again. \
After the program is started, you can enable a plugin manually by clicking on the \
\"Enable\" button and then restart Retroshare.</p> \
<p>If you want to develop your own plugins, contact the developpers team \
they will be happy to help you out!</p>") ;
}
void PluginsPage::toggleEnableAll(bool b)
{
rsPlugins->allowAllPlugins(b) ;

View File

@ -39,7 +39,7 @@ class PluginsPage : public ConfigPage
virtual QPixmap iconPixmap() const { return QPixmap(":/images/extension_32.png") ; }
virtual QString pageName() const { return tr("Plugins") ; }
virtual QString helpText() const { return ""; }
virtual QString helpText() const ;
public slots: