1 /***************************************************************************
2 effecstackedit.h - description
5 copyright : (C) 2008 by Marco Gittler
6 email : g.marco@freenet.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
17 #ifndef TRANSITIONSETTINGS_H
18 #define TRANSITIONSETTINGS_H
20 #include <QDomElement>
22 #include "ui_transitionsettings_ui.h"
23 #include "definitions.h"
28 class EffectStackEdit;
30 class TransitionSettings : public QWidget, public Ui::TransitionSettings_UI
35 TransitionSettings(QWidget* parent = 0);
36 void raiseWindow(QWidget*);
37 void updateProjectFormat(MltVideoProfile profile, Timecode t, const QList <TrackInfo> info);
40 EffectStackEdit *m_effectEdit;
41 Transition* m_usedTransition;
42 GenTime m_transitionDuration;
43 GenTime m_transitionStart;
45 int m_autoTrackTransition;
48 void slotTransitionItemSelected(Transition* t, int nextTrack, QPoint p, bool update);
49 void slotTransitionChanged(bool reinit = true, bool updateCurrent = false);
50 void slotUpdateEffectParams(const QDomElement&, const QDomElement&);
53 void slotTransitionTrackChanged();
56 void transitionUpdated(Transition *, QDomElement);
57 void transferParamDesc(const QDomElement&, int , int);
58 void seekTimeline(int);