nodeview can connect and disconnect nodes

This commit is contained in:
itsmattkc
2019-07-16 04:43:57 -04:00
parent 9d2fc71efc
commit 1a39216be2
10 changed files with 251 additions and 49 deletions
+1 -2
View File
@@ -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();