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:
defnax 2009-09-22 17:23:41 +00:00
parent 10f5f474e2
commit c9f295a760
11 changed files with 915 additions and 683 deletions

View file

@ -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;