mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 06:20:44 -04:00
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:
parent
b212f65f69
commit
e71d289e0e
3 changed files with 98 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue