X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkeyframeedit.h;h=05bd599bd24ad9335356240b999ca3b111c135c3;hb=af33d6164e8a60c1184084366440e7b7ea558737;hp=9c8716a2188cd6ef1f0d37323000af89713031ec;hpb=7c7ab29f851cbc41b3738744eb12061e43976f84;p=kdenlive diff --git a/src/keyframeedit.h b/src/keyframeedit.h index 9c8716a2..05bd599b 100644 --- a/src/keyframeedit.h +++ b/src/keyframeedit.h @@ -25,7 +25,6 @@ #include #include -class QButtonGroup; class PositionEdit; #include "ui_keyframeeditor_ui.h" @@ -81,7 +80,7 @@ class KeyframeEdit : public QWidget, public Ui::KeyframeEditor_UI { Q_OBJECT public: - explicit KeyframeEdit(QDomElement e, int minFrame, int maxFrame, Timecode tc, int activeKeyframe, QWidget* parent = 0); + explicit KeyframeEdit(const QDomElement &e, int minFrame, int maxFrame, Timecode tc, int activeKeyframe, QWidget* parent = 0); virtual ~KeyframeEdit(); virtual void addParameter(QDomElement e, int activeKeyframe = -1); const QString getValue(const QString &name); @@ -94,6 +93,10 @@ public: /** @brief Makes the first parameter visible in timeline if no parameter is selected. */ void checkVisibleParam(); +public slots: + + void slotUpdateRange(int inPoint, int outPoint); + protected: /** @brief Gets the position of a keyframe from the table. * @param row Row of the keyframe in the table */ @@ -121,7 +124,7 @@ private slots: void slotAddKeyframe(); void slotGenerateParams(int row, int column); void slotAdjustKeyframePos(int value); - void slotAdjustKeyframeValue(int value); + void slotAdjustKeyframeValue(double value); /** @brief Turns the seek to keyframe position setting on/off. * @param seek true = seeking on */ void slotSetSeeking(bool seek);