implemented bulk of curve editor's functionality
While certainly not entirely complete yet, this implements most of the UI functionality of the graph editor.
This commit is contained in:
@@ -28,6 +28,8 @@ ParamPanel::ParamPanel(QWidget* parent) :
|
||||
|
||||
view_ = new NodeParamView(this);
|
||||
connect(view_, &NodeParamView::TimeChanged, this, &ParamPanel::TimeChanged);
|
||||
connect(view_, &NodeParamView::SelectedInputChanged, this, &ParamPanel::SelectedInputChanged);
|
||||
connect(view_, &NodeParamView::TimebaseChanged, this, &ParamPanel::TimebaseChanged);
|
||||
|
||||
setWidget(view_);
|
||||
|
||||
|
||||
@@ -42,6 +42,10 @@ public slots:
|
||||
signals:
|
||||
void TimeChanged(const int64_t& timestamp);
|
||||
|
||||
void SelectedInputChanged(NodeInput* input);
|
||||
|
||||
void TimebaseChanged(const rational& timebase);
|
||||
|
||||
protected:
|
||||
virtual void changeEvent(QEvent* e) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user