implemented keyframe type changing

Implemented the UI to change a keyframe's type along with the ValueChanged
signals that should result.
This commit is contained in:
itsmattkc
2019-12-27 16:37:06 +11:00
parent 855fe5e93f
commit 3e3963dfaa
11 changed files with 171 additions and 7 deletions
@@ -13,6 +13,8 @@ public:
void SetScale(double scale);
NodeKeyframePtr key() const;
protected:
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override;
@@ -28,6 +30,8 @@ private:
private slots:
void UpdateRect();
void Redraw();
};
#endif // KEYFRAMEVIEWITEM_H