mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
5879613e85
commit
7d3f8b5c10
@ -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\"> 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) ;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user