]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.h
Rework monitor & timeline UI, and send profile to renderer
[kdenlive] / src / customtrackview.h
index ca4ad9d77286a1d14d44ae8443068b2da73d98c7..b3e446a7e6e92ff6a6d9209e44ae24247e933819 100644 (file)
@@ -52,6 +52,7 @@ public:
     void addEffect(int track, GenTime pos, QDomElement effect);
     void deleteEffect(int track, GenTime pos, QDomElement effect);
     void updateEffect(int track, GenTime pos, QDomElement effect);
+    void activateMonitor();
 
 public slots:
     void setCursorPos(int pos, bool seek = true);
@@ -85,7 +86,7 @@ private:
     QPointF m_startPos;
     OPERATIONTYPE m_operationMode;
     OPERATIONTYPE m_moveOpMode;
-    ClipItem *m_dragItem;
+    AbstractClipItem *m_dragItem;
     KUndoStack *m_commandStack;
     QGraphicsItem *m_visualTip;
     QGraphicsItemAnimation *m_animation;
@@ -94,8 +95,8 @@ private:
     QPen m_tipPen;
     double m_scale;
     int m_clickPoint;
-    QList <int> m_snapPoints;
-    void updateSnapPoints(ClipItem *selected);
+    QList <GenTime> m_snapPoints;
+    void updateSnapPoints(AbstractClipItem *selected);
     double getSnapPointForPos(double pos);
     ClipItem *getClipItemAt(int pos, int track);
     ClipItem *getClipItemAt(GenTime pos, int track);
@@ -103,13 +104,13 @@ private:
     /** Should we auto scroll while playing (keep in sync with KdenliveSettings::autoscroll() */
     bool m_autoScroll;
 
-
 signals:
     void cursorMoved(int, int);
     void zoomIn();
     void zoomOut();
     void mousePosition(int);
     void clipItemSelected(ClipItem*);
+    void activateDocumentMonitor();
 };
 
 #endif