]> git.sesse.net Git - kdenlive/blobdiff - src/effectstackview.h
Fix bitrate broken when editing profile or making it a favorite:
[kdenlive] / src / effectstackview.h
index c86b6cfc153b95a3e7ac434d4378fa859e3eb7ae..89055a2360374e03a9e691fa12cbe4c4903e6cb2 100644 (file)
@@ -74,6 +74,9 @@ private:
     /** @brief The track index of currently edited track. */
     int m_trackindex;
 
+    /** If in track mode: Info of the edited track to be able to access its duration. */
+    TrackInfo m_trackInfo;
+
     /** @brief Sets the list of effects according to the clip's effect list.
     * @param ix Number of the effect to preselect */
     void setupListView(int ix);
@@ -91,7 +94,7 @@ public slots:
     * @param e New effect information
     *
     * Connected to a parameter change in the editor */
-    void slotUpdateEffectParams(const QDomElement old, const QDomElement e);
+    void slotUpdateEffectParams(const QDomElement &old, const QDomElement &e);
 
     /** @brief Removes the selected effect. */
     void slotItemDel();
@@ -136,6 +139,9 @@ private slots:
     /** @brief Pass position changes of the timeline cursor to the effects to keep their local timelines in sync. */
     void slotRenderPos(int pos);
 
+    /** @brief Shows/Hides the comment box and emits showComments to notify the parameter widgets to do the same. */
+    void slotShowComments();
+
 signals:
     void removeEffect(ClipItem*, int, QDomElement);
     /**  Parameters for an effect changed, update the filter in playlist */
@@ -154,6 +160,7 @@ signals:
     /** The region effect for current effect was changed */
     void updateClipRegion(ClipItem*, int, QString);
     void displayMessage(const QString&, int);
+    void showComments(bool show);
 };
 
 #endif