implemented base UI keyframe functionality

This commit implements much of the base functionality for creating and
destroying keyframes in the UI. Not complete yet, but getting there.
This commit is contained in:
itsmattkc
2019-12-26 16:32:08 +11:00
parent a514265fc9
commit 23001386d0
16 changed files with 707 additions and 301 deletions
@@ -9,18 +9,22 @@ class NodeParamViewWidgetBridge : public QObject
{
Q_OBJECT
public:
NodeParamViewWidgetBridge(QObject* parent);
NodeParamViewWidgetBridge(NodeInput* input, QObject* parent);
void AddInput(NodeInput* input);
void SetTime(const rational& time);
const QList<QWidget*>& widgets();
private:
QList<NodeInput*> inputs_;
void CreateWidgets();
void SetInputValue(NodeInput* input, const QVariant& value);
NodeInput* input_;
QList<QWidget*> widgets_;
void CreateWidgets();
rational time_;
private slots:
void WidgetCallback();