first networkview implementation. Totally unfinished

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3738 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-11-01 14:17:18 +00:00
parent a1f9d2a607
commit 0fcc298801
7 changed files with 263 additions and 238 deletions

View file

@ -55,7 +55,7 @@ QT_END_NAMESPACE
class Node : public QGraphicsItem
{
public:
Node(const std::string& node_string,uint32_t flags,GraphWidget *graphWidget);
Node(const std::string& node_string,GraphWidget::NodeType type,GraphWidget::AuthType auth,GraphWidget *graphWidget);
void addEdge(Edge *edge);
QList<Edge *> edges() const;
@ -82,7 +82,8 @@ private:
qreal _speedx,_speedy;
int _steps ;
std::string _desc_string ;
uint32_t _flags ;
GraphWidget::NodeType _type ;
GraphWidget::AuthType _auth ;
bool mDeterminedBB ;
int mBBWidth ;