]> git.sesse.net Git - kdenlive/blobdiff - src/geometrywidget.h
on-monitor editing: show controls next to the edit monitor
[kdenlive] / src / geometrywidget.h
index 8ffc002083222c0d9e0a0aa82b072ad19a0f4771..aa47d7f46d0420fee8ea6603e16e0df31ad4f425 100644 (file)
@@ -33,7 +33,6 @@ class MonitorScene;
 class KeyframeHelper;
 class TimecodeDisplay;
 class OnMonitorRectItem;
-class MonitorSceneControlWidget;
 
 
 class GeometryWidget : public QWidget
@@ -42,7 +41,9 @@ class GeometryWidget : public QWidget
 public:
     /** @brief Sets up the UI and connects it.
     * @param monitor Project monitor
+    * @param timecode Timecode needed by timecode display widget
     * @param clipPos Position of the clip in timeline
+    * @param isEffect true if used in an effect, false if used in a transition
     * @param parent (optional) Parent widget */
     GeometryWidget(Monitor *monitor, Timecode timecode, int clipPos, bool isEffect, QWidget* parent = 0);
     virtual ~GeometryWidget();
@@ -59,6 +60,8 @@ public slots:
     void setupParam(const QDomElement elem, int minframe, int maxframe);
     /** @brief Updates position of the local timeline to @param relTimelinePos.  */
     void slotSyncPosition(int relTimelinePos);
+    /** @brief Switches from normal monitor to monitor scene according to @param show. */
+    void slotShowScene(bool show = true);
 
 private:
     Ui::GeometryWidget_UI m_ui;
@@ -77,7 +80,6 @@ private:
     /** Stores the different settings in the MLT geometry format. */
     Mlt::Geometry *m_geometry;
     bool m_showScene;
-    MonitorSceneControlWidget *m_config;
 
 private slots:
     /** @brief Updates controls according to position.
@@ -141,8 +143,6 @@ private slots:
 
     /** @brief Enables/Disables syncing with the timeline according to @param sync. */
     void slotSetSynchronize(bool sync);
-    /** @brief Switches from normal monitor to monitor scene according to @param show. */
-    void slotShowScene(bool show = true);
 
 signals:
     void parameterChanged();