various node UI improvements
This commit is contained in:
+9
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user