attempt to improve/clarify relationship between nodes and PGP keys. Removed duplicate options and splitted ConfCerDialog into a dialog to show nodes certificates and PGP key information

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8232 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-05-12 20:30:44 +00:00
parent b5bf3ce130
commit e449e709b5
14 changed files with 1159 additions and 835 deletions

View file

@ -50,7 +50,7 @@
#include <QStyleOption>
#include <iostream>
#include <gui/connect/ConfCertDialog.h>
#include <gui/connect/PGPKeyDialog.h>
#include <retroshare/rspeers.h>
#include "edge.h"
@ -354,15 +354,15 @@ void Node::peerDetails()
#ifdef DEBUG_ELASTIC
std::cerr << "Calling peer details" << std::endl;
#endif
ConfCertDialog::showIt(_gpg_id, ConfCertDialog::PageDetails);
PGPKeyDialog::showIt(_gpg_id, PGPKeyDialog::PageDetails);
}
void Node::makeFriend()
{
ConfCertDialog::showIt(_gpg_id, ConfCertDialog::PageTrust);
PGPKeyDialog::showIt(_gpg_id, PGPKeyDialog::PageDetails);
}
void Node::denyFriend()
{
ConfCertDialog::showIt(_gpg_id, ConfCertDialog::PageTrust);
PGPKeyDialog::showIt(_gpg_id, PGPKeyDialog::PageDetails);
}
void Node::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)