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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user