implemented basic animation curve editor widgets

Frontend is largely done, it just needs backend and connecting to other
widgets to function correctly.
This commit is contained in:
itsmattkc
2019-12-28 00:27:13 +11:00
parent 3c9b16555f
commit d82acf9b7e
16 changed files with 215 additions and 31 deletions
+4
View File
@@ -6,6 +6,10 @@ CurvePanel::CurvePanel(QWidget *parent) :
// FIXME: This won't work if there's ever more than one of this panel
setObjectName("CurvePanel");
// Create main widget and set it
widget_ = new CurveWidget();
setWidget(widget_);
// Set strings
Retranslate();
}
+3
View File
@@ -1,6 +1,7 @@
#ifndef CURVEPANEL_H
#define CURVEPANEL_H
#include "widget/curvewidget/curvewidget.h"
#include "widget/panel/panel.h"
class CurvePanel : public PanelWidget
@@ -14,6 +15,8 @@ protected:
private:
void Retranslate();
CurveWidget* widget_;
};
#endif // CURVEPANEL_H