X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcornerswidget.h;h=d5d5fe860c187ffed81b5fe9d15124e485796a6b;hb=f41ee253ade9dfda45752f232ea0ff35e26dce95;hp=35f8638f8b3938793402043de43bf4aa0e6f1aa1;hpb=f313ace5a34c48ecda307ff37ffb9a5db50f1c06;p=kdenlive diff --git a/src/cornerswidget.h b/src/cornerswidget.h index 35f8638f..d5d5fe86 100644 --- a/src/cornerswidget.h +++ b/src/cornerswidget.h @@ -28,7 +28,6 @@ class QDomElement; class Monitor; class MonitorScene; class OnMonitorCornersItem; -class MonitorSceneControlWidget; class CornersWidget : public KeyframeEdit @@ -47,8 +46,6 @@ public: virtual void addParameter(QDomElement e, int activeKeyframe = -1); public slots: - /** @brief Switches from normal monitor to monitor scene according to @param show. */ - void slotShowScene(bool show = true); /** @brief Updates the on-monitor item. */ void slotSyncPosition(int relTimelinePos); @@ -57,30 +54,26 @@ private: MonitorScene *m_scene; OnMonitorCornersItem *m_item; bool m_showScene; - MonitorSceneControlWidget *m_config; int m_pos; /** @brief Returns the corner positions set in the row of @param keyframe. */ QList getPoints(QTableWidgetItem *keyframe); private slots: - /** @brief Makes sure the monitor effect scene is only visible if the clip this geometry belongs to is visible. - * @param renderPos Postion of the Monitor / Timeline cursor */ - void slotCheckMonitorPosition(int renderPos); /** @brief Updates the on-monitor item according to the current timeline position. */ void slotUpdateItem(); /** @brief Updates the keyframe editor according to the on-monitor item. */ void slotUpdateProperties(); + /** @brief Inserts a keyframe at the current (playback) position (m_pos). */ + void slotInsertKeyframe(); + /** @brief Shows/Hides the lines connecting the corners in the on-monitor item according to @param show. */ void slotShowLines(bool show = true); /** @brief Shows/Hides additional controls on the monitor according to @param show. */ void slotShowControls(bool show = true); - -signals: - void checkMonitorPosition(int); }; #endif