mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 06:09:09 -04:00
homepage quickstartwizard webhelp
This commit is contained in:
parent
91f2cf720f
commit
5618358bf1
7 changed files with 107 additions and 81 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "gui/notifyqt.h"
|
||||
#include "gui/msgs/MessageComposer.h"
|
||||
#include "gui/connect/ConnectFriendWizard.h"
|
||||
#include <gui/QuickStartWizard.h>
|
||||
#include "gui/connect/FriendRecommendDialog.h"
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
|
||||
|
@ -72,6 +73,9 @@ HomePage::HomePage(QWidget *parent) :
|
|||
|
||||
ui->shareButton->setMenu(menu);
|
||||
|
||||
connect(ui->runStartWizard_PB,SIGNAL(clicked()), this,SLOT(runStartWizard())) ;
|
||||
connect(ui->openwebhelp,SIGNAL(clicked()), this,SLOT(openWebHelp())) ;
|
||||
|
||||
int S = QFontMetricsF(font()).height();
|
||||
QString help_str = tr(
|
||||
" <h1><img width=\"%1\" src=\":/icons/help_64.png\"> Welcome to Retroshare!</h1>\
|
||||
|
@ -169,3 +173,13 @@ void HomePage::addFriend()
|
|||
connwiz.setStartId(ConnectFriendWizard::Page_Text);
|
||||
connwiz.exec ();
|
||||
}
|
||||
|
||||
void HomePage::runStartWizard()
|
||||
{
|
||||
QuickStartWizard(this).exec();
|
||||
}
|
||||
|
||||
void HomePage::openWebHelp()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl(QString("https://retroshare.readthedocs.io")));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue