various node UI improvements

This commit is contained in:
itsmattkc
2019-07-16 13:25:38 -04:00
parent ea4e142e0c
commit a78cc3950a
26 changed files with 279 additions and 154 deletions
+9 -2
View File
@@ -22,8 +22,7 @@
#include "common/qobjectlistcast.h"
Node::Node(QObject *parent) :
QObject(parent)
Node::Node()
{
}
@@ -39,6 +38,14 @@ QString Node::Description()
return QString();
}
void Node::AddParameter(NodeParam *param)
{
param->setParent(this);
connect(param, SIGNAL(EdgeAdded(NodeEdgePtr)), this, SIGNAL(EdgeAdded(NodeEdgePtr)));
connect(param, SIGNAL(EdgeRemoved(NodeEdgePtr)), this, SIGNAL(EdgeRemoved(NodeEdgePtr)));
}
void Node::InvalidateCache(const rational &start_range, const rational &end_range)
{
QList<NodeParam *> params = parameters();