X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fgeometryval.h;h=96c9f5bd9fc3917445e887d396419dbbe2dfc215;hb=8cd7e7b5ab508f07f80eae762b54e7cbc8afa36c;hp=1eee0374978522ae9696cd3b3fd3d5e4ff6240a9;hpb=69270ec929490d2295db2a96e419b82366cac42e;p=kdenlive diff --git a/src/geometryval.h b/src/geometryval.h index 1eee0374..96c9f5bd 100644 --- a/src/geometryval.h +++ b/src/geometryval.h @@ -34,20 +34,20 @@ //class QGraphicsScene; class GraphicsSceneRectMove; class QGraphicsRectItem; -class QMouseEvent; class Geometryval : public QWidget, public Ui::Geometryval { Q_OBJECT public: - explicit Geometryval(const MltVideoProfile profile, Timecode t, QPoint frame_size, int startPoint = 0, QWidget* parent = 0); + explicit Geometryval(const MltVideoProfile &profile, const Timecode &t, const QPoint &frame_size, int startPoint = 0, QWidget* parent = 0); virtual ~Geometryval(); QDomElement getParamDesc(); QString getValue() const; void setFrameSize(QPoint p); /** @brief Updates the timecode display according to settings (frame number or hh:mm:ss:ff) */ void updateTimecodeFormat(); + void slotUpdateRange(int inPoint, int outPoint); private: MltVideoProfile m_profile; @@ -72,6 +72,8 @@ private: public slots: void setupParam(const QDomElement, int minframe, int maxframe); + /** @brief Updates position of the local timeline to @param relTimelinePos. */ + void slotSyncPosition(int relTimelinePos); private slots: void slotNextFrame();