mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
added InfoDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1669 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
10f5f474e2
commit
c9f295a760
11 changed files with 915 additions and 683 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <rsiface/rsinit.h>
|
||||
#include "StartDialog.h"
|
||||
#include "GenCertDialog.h"
|
||||
#include "InfoDialog.h"
|
||||
#include "LogoBar.h"
|
||||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
|
@ -67,6 +68,7 @@ StartDialog::StartDialog(QWidget *parent, Qt::WFlags flags)
|
|||
//connect(ui.selectButton, SIGNAL(clicked()), this, SLOT(selectFriend()));
|
||||
//connect(ui.friendBox, SIGNAL(stateChanged(int)), this, SLOT(checkChanged(int)));
|
||||
connect(ui.createaccountButton, SIGNAL(clicked()), this, SLOT(createnewaccount()));
|
||||
connect(ui.infoButton,SIGNAL(clicked()), this, SLOT(infodlg()));
|
||||
|
||||
/* load the Certificate File name */
|
||||
std::string userName;
|
||||
|
@ -259,6 +261,15 @@ void StartDialog::createnewaccount()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void StartDialog::infodlg()
|
||||
{
|
||||
static InfoDialog *infodialog = new InfoDialog();
|
||||
infodialog->show();
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool StartDialog::requestedNewCert()
|
||||
{
|
||||
return reqNewCert;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue