mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-26 15:20:53 -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
2 changed files with 13 additions and 1 deletions
|
@ -147,6 +147,18 @@ PluginsPage::PluginsPage(QWidget * parent, Qt::WFlags flags)
|
||||||
|
|
||||||
QObject::connect(ui.enableAll,SIGNAL(toggled(bool)),this,SLOT(toggleEnableAll(bool))) ;
|
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)
|
void PluginsPage::toggleEnableAll(bool b)
|
||||||
{
|
{
|
||||||
rsPlugins->allowAllPlugins(b) ;
|
rsPlugins->allowAllPlugins(b) ;
|
||||||
|
|
|
@ -39,7 +39,7 @@ class PluginsPage : public ConfigPage
|
||||||
|
|
||||||
virtual QPixmap iconPixmap() const { return QPixmap(":/images/extension_32.png") ; }
|
virtual QPixmap iconPixmap() const { return QPixmap(":/images/extension_32.png") ; }
|
||||||
virtual QString pageName() const { return tr("Plugins") ; }
|
virtual QString pageName() const { return tr("Plugins") ; }
|
||||||
virtual QString helpText() const { return ""; }
|
virtual QString helpText() const ;
|
||||||
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue