Since the node graph can have transform cross nodes, input keyframes may occur at a different times requiring transforming between sequence time and media time. This commit implements such a mechanism in all UI classes that need it.
28 lines
482 B
C++
28 lines
482 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);
|
|
|
|
void SetTimeTarget(Node* target);
|
|
|
|
virtual void IncreaseTrackHeight() override;
|
|
|
|
virtual void DecreaseTrackHeight() override;
|
|
|
|
protected:
|
|
virtual void Retranslate() override;
|
|
|
|
};
|
|
|
|
#endif // CURVEPANEL_H
|