]> git.sesse.net Git - kdenlive/blobdiff - src/transitionsettings.h
Prepare checking of removed / deleted files in a project:
[kdenlive] / src / transitionsettings.h
index a8404ef3922a079a4dd73ce82d0e962f5c886f64..4d08933644f488f86b555c6a11b517daea07c60c 100644 (file)
 #include "ui_transitionsettings_ui.h"
 #include "definitions.h"
 
+class Timecode;
 class Transition;
 class EffectsList;
 class EffectStackEdit;
 
-class TransitionSettings : public QWidget  {
+class TransitionSettings : public QWidget, public Ui::TransitionSettings_UI
+{
     Q_OBJECT
+
 public:
     TransitionSettings(QWidget* parent = 0);
     void raiseWindow(QWidget*);
-    void updateProjectFormat(MltVideoProfile profile);
+    void updateProjectFormat(MltVideoProfile profile, Timecode t, const QList <TrackInfo> info);
 
 private:
-    Ui::TransitionSettings_UI ui;
-    EffectStackEdit *effectEdit;
+    EffectStackEdit *m_effectEdit;
     Transition* m_usedTransition;
     GenTime m_transitionDuration;
     GenTime m_transitionStart;
+    int m_tracksCount;
+    int m_autoTrackTransition;
 
 public slots:
-    void slotTransitionItemSelected(Transition*);
-    void slotTransitionChanged(bool reinit = true);
+    void slotTransitionItemSelected(Transition* t, int nextTrack, QPoint p, bool update);
+    void slotTransitionChanged(bool reinit = true, bool updateCurrent = false);
     void slotUpdateEffectParams(const QDomElement&, const QDomElement&);
 
+private slots:
+    void slotTransitionTrackChanged();
+
 signals:
     void transitionUpdated(Transition *, QDomElement);
     void transferParamDesc(const QDomElement&, int , int);