Added More alternative colours to NetworkView.

* Yellow - yourself.
 * Green  - your friends.
 * Blue    - other Authed People.
 * Magenta - partially Authed People.
 * Red     - unknown people.

Added Context Menu. This is empty now (as we are heading for a release).
The code to add specific menu items to rm/add friends is there - just commented out.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1225 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2009-05-12 23:44:51 +00:00
parent b212f65f69
commit e71d289e0e
3 changed files with 98 additions and 5 deletions

View file

@ -45,7 +45,9 @@
#define ELASTIC_NODE_TYPE_OWN 1
#define ELASTIC_NODE_TYPE_FRIEND 2
#define ELASTIC_NODE_TYPE_FOF 3
#define ELASTIC_NODE_TYPE_AUTHED 3
#define ELASTIC_NODE_TYPE_MARGINALAUTH 4
#define ELASTIC_NODE_TYPE_FOF 5
class Edge;
class GraphWidget;
@ -74,7 +76,8 @@ protected:
void mousePressEvent(QGraphicsSceneMouseEvent *event);
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
void contextMenuEvent(QGraphicsSceneContextMenuEvent *event);
private:
QList<Edge *> edgeList;
QPointF newPos;