]> git.sesse.net Git - kdenlive/blobdiff - src/monitorscene.h
Fix color of warning message in render widget
[kdenlive] / src / monitorscene.h
index ac26f4e56bdb721ba86d1117bebc403df1d999dc..3dccf2b498b774a826f12a27b1720bc37a486e1a 100644 (file)
@@ -35,17 +35,26 @@ public:
     MonitorScene(Render *renderer, QObject* parent = 0);
     void setUp();
     void setEnabled(bool enabled = true);
+    void resetProfile();
 
 protected:
     virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
     virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
     virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
+    virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
 
 public slots:
-    void slotUpdateBackground(bool fit = false);
+    void slotUpdateBackground();
+    void slotSetDirectUpdate(bool directUpdate);
+
+    void slotZoom(int value);
+    void slotZoomFit();
+    void slotZoomOriginal();
+    void slotZoomIn();
+    void slotZoomOut();
 
 private slots:
-    void slotSetBackgroundImage(QImage image);
+    void slotSetBackgroundImage(const QImage &image);
 
 private:
     resizeModes getResizeMode(QGraphicsRectItem *item, QPoint pos);
@@ -60,9 +69,13 @@ private:
     QPointF m_clickPoint;
     QImage m_backgroundImage;
     bool m_enabled;
+    bool m_modified;
+    qreal m_zoom;
 
 signals:
     void actionFinished();
+    void zoomChanged(int);
+    void addKeyframe();
 };
 
 #endif