mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-18 19:08:35 -04:00
dynamic update of networkview from p3disc info. Disabled friend level for now.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3752 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3fa3e2d6db
commit
a32bcbb635
14 changed files with 194 additions and 202 deletions
|
@ -42,10 +42,12 @@
|
|||
#ifndef GRAPHWIDGET_H
|
||||
#define GRAPHWIDGET_H
|
||||
|
||||
#include <map>
|
||||
#include <QtGui/QGraphicsView>
|
||||
#include <stdint.h>
|
||||
|
||||
class Node;
|
||||
class Edge;
|
||||
|
||||
class GraphWidget : public QGraphicsView
|
||||
{
|
||||
|
@ -93,7 +95,7 @@ private:
|
|||
bool mDeterminedBB ;
|
||||
|
||||
std::vector<Node *> _nodes ;
|
||||
std::vector<Node *> _edges ;
|
||||
std::map<std::pair<NodeId,NodeId>,Edge *> _edges ;
|
||||
|
||||
uint32_t _edge_length ;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue