mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 06:20:44 -04:00
* 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:
parent
60349baf9d
commit
b756edd32e
7 changed files with 174 additions and 36 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue