* Updated rsiface / rspeers.h

* Added correct menu items to the NetworkView.
 * Tweaked speed of NetworkView to conserve CPU.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1502 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2009-08-09 13:08:58 +00:00
parent 60349baf9d
commit b756edd32e
7 changed files with 174 additions and 36 deletions

View file

@ -54,8 +54,11 @@ class Arrow;
class GraphWidget;
class QGraphicsSceneMouseEvent;
class Node : public QGraphicsItem
class Node : public QObject, public QGraphicsItem
{
Q_OBJECT
public:
Node(GraphWidget *graphWidget, uint32_t t, std::string id_in, std::string n);
@ -75,6 +78,9 @@ public:
//QPainterPath shape() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
public slots:
void peerdetails();
protected:
QVariant itemChange(GraphicsItemChange change, const QVariant &value);