Cuts down on a lot of duplicate code between TimelineWidget/ViewerWidget/CurveWidget/NodeParamView and TimelinePanel/ViewerPanel/CurvePanel/ParamPanel since they all use similar time functions.
26 lines
445 B
C++
26 lines
445 B
C++
#ifndef CURVEPANEL_H
|
|
#define CURVEPANEL_H
|
|
|
|
#include "panel/timebased/timebased.h"
|
|
#include "widget/curvewidget/curvewidget.h"
|
|
|
|
class CurvePanel : public TimeBasedPanel
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
CurvePanel(QWidget* parent);
|
|
|
|
public slots:
|
|
void SetInput(NodeInput* input);
|
|
|
|
virtual void IncreaseTrackHeight() override;
|
|
|
|
virtual void DecreaseTrackHeight() override;
|
|
|
|
protected:
|
|
virtual void Retranslate() override;
|
|
|
|
};
|
|
|
|
#endif // CURVEPANEL_H
|