]> git.sesse.net Git - kdenlive/blobdiff - src/keyframeedit.h
Improve keyframe editor, fix random keyframe sometimes inserted
[kdenlive] / src / keyframeedit.h
index 8de47f02f2666a9253f0383a5e459cd7fb56ca0d..0aa620d26a9427f961870fae895fd7328d5d732e 100644 (file)
@@ -75,7 +75,7 @@ class KeyframeEdit : public QWidget, public Ui::KeyframeEditor_UI
 {
     Q_OBJECT
 public:
-    explicit KeyframeEdit(QDomElement e, int maxFrame, int minVal, int maxVal, Timecode tc, QWidget* parent = 0);
+    explicit KeyframeEdit(QDomElement e, int maxFrame, int minVal, int maxVal, Timecode tc, const QString paramName = QString(), QWidget* parent = 0);
     virtual ~KeyframeEdit();
     void setupParam(QDomElement e = QDomElement());
 
@@ -96,6 +96,7 @@ private slots:
     void slotAddKeyframe();
     void slotGenerateParams(QTreeWidgetItem *item = NULL, int column = -1);
     void slotAdjustKeyframeInfo();
+    void slotAdjustKeyframePos(int value);
     void slotAdjustKeyframeValue(int value);
     void slotSaveCurrentParam(QTreeWidgetItem *item, int column);