implement entire project in nodes
Project items are now represented directly in nodes opening up more versatility and possibilities. This is the first iteration of this and will be buggy. Need to test thoroughly.
This commit is contained in:
+5
-1
@@ -20,8 +20,12 @@
|
||||
|
||||
#include "graph.h"
|
||||
|
||||
#include <QChildEvent>
|
||||
|
||||
namespace olive {
|
||||
|
||||
#define super QObject
|
||||
|
||||
NodeGraph::NodeGraph()
|
||||
{
|
||||
}
|
||||
@@ -35,7 +39,7 @@ void NodeGraph::Clear()
|
||||
|
||||
void NodeGraph::childEvent(QChildEvent *event)
|
||||
{
|
||||
Item::childEvent(event);
|
||||
super::childEvent(event);
|
||||
|
||||
Node* node = dynamic_cast<Node*>(event->child());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user