diff options
author | Knud Dollereder <knud.dollereder@qt.io> | 2020-02-10 16:21:23 +0100 |
---|---|---|
committer | Knud Dollereder <knud.dollereder@qt.io> | 2020-02-11 12:13:00 +0000 |
commit | 841f5be97eac3b8ad25901217b9420626c03720a (patch) | |
tree | 2006188cd50c9e478c0e8837797f561eee806b93 /src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h | |
parent | debc304bf868310d19483d6079b1a841f9341e64 (diff) |
Implement locking and pinning of animation-curves
Fixes: QDS-550
Fixes: QDS-551
Change-Id: I53a120a3753bb98fe729106b7e996f475fbda2f1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h')
-rw-r--r-- | src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h b/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h index 981c326b5a..088f86e4e1 100644 --- a/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h +++ b/src/plugins/qmldesigner/components/curveeditor/detail/graphicsscene.h @@ -69,6 +69,10 @@ public: void handleMoved(KeyframeItem *frame, HandleSlot handle, double angle, double deltaLength); + void setPinned(int id, bool pinned); + + std::vector<CurveItem *> takePinnedItems(); + protected: void mouseMoveEvent(QGraphicsSceneMouseEvent *mouseEvent) override; |