constructed keyframeview and timeruler together inside nodeparamview and connected them

This commit is contained in:
itsmattkc
2019-12-25 02:42:07 +11:00
parent d705a27d54
commit 97c192672e
9 changed files with 143 additions and 33 deletions
+10
View File
@@ -33,6 +33,16 @@ ParamPanel::ParamPanel(QWidget* parent) :
Retranslate();
}
void ParamPanel::ZoomIn()
{
view_->SetScale(view_->GetScale() * 2);
}
void ParamPanel::ZoomOut()
{
view_->SetScale(view_->GetScale() * 0.5);
}
void ParamPanel::SetNodes(QList<Node *> nodes)
{
view_->SetNodes(nodes);