nodeview can connect and disconnect nodes
This commit is contained in:
@@ -36,14 +36,13 @@ public:
|
||||
void SetGraph(NodeGraph* graph);
|
||||
|
||||
static NodeViewItem* NodeToUIObject(QGraphicsScene* scene, Node* n);
|
||||
static NodeViewEdge* EdgeToUIObject(QGraphicsScene* scene, NodeEdgePtr n);
|
||||
|
||||
private:
|
||||
NodeGraph* graph_;
|
||||
|
||||
QGraphicsScene scene_;
|
||||
|
||||
QList<NodeViewEdge*> edges_;
|
||||
|
||||
private slots:
|
||||
void ItemsChanged();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user