]> git.sesse.net Git - kdenlive/blobdiff - src/positionedit.h
Fix editing clip crop start and fade effects lost when resizing clip:
[kdenlive] / src / positionedit.h
index 5c2d77e69fa7818b2b3cb6c564d656953d522eff..70dff2ff8fd00cdc6e931e92ed03ac922ab9044c 100644 (file)
 #define POSITONEDIT_H
 
 
+#include "timecode.h"
+
 #include <QWidget>
 
-#include "timecode.h"
-#include "timecodedisplay.h"
+class QSlider;
+class TimecodeDisplay;
 
 class PositionEdit : public QWidget
 {
@@ -33,6 +35,7 @@ public:
     int getPosition() const;
     void setPosition(int pos);
     void updateTimecodeFormat();
+    void setRange(int min, int max);
 
 private:
     TimecodeDisplay *m_display;
@@ -42,7 +45,7 @@ private slots:
     void slotUpdatePosition();
 
 signals:
-    void parameterChanged();
+    void parameterChanged(int pos = 0);
 };
 
 #endif