]> git.sesse.net Git - kdenlive/blob - src/transitionsettings.h
* Fix undo of effect editing
[kdenlive] / src / transitionsettings.h
1 /***************************************************************************
2                           effecstackedit.h  -  description
3                              -------------------
4     begin                : Mar 15 2008
5     copyright            : (C) 2008 by Marco Gittler
6     email                : g.marco@freenet.de
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
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.                                   *
15  *                                                                         *
16  ***************************************************************************/
17 #ifndef TRANSITIONSETTINGS_H
18 #define TRANSITIONSETTINGS_H
19
20 #include <QDomElement>
21
22 #include "ui_transitionsettings_ui.h"
23 #include "definitions.h"
24
25 class Timecode;
26 class Transition;
27 class EffectsList;
28 class EffectStackEdit;
29
30 class TransitionSettings : public QWidget  {
31     Q_OBJECT
32 public:
33     TransitionSettings(QWidget* parent = 0);
34     void raiseWindow(QWidget*);
35     void updateProjectFormat(MltVideoProfile profile, Timecode t);
36
37 private:
38     Ui::TransitionSettings_UI ui;
39     EffectStackEdit *effectEdit;
40     Transition* m_usedTransition;
41     GenTime m_transitionDuration;
42     GenTime m_transitionStart;
43
44 public slots:
45     void slotTransitionItemSelected(Transition*);
46     void slotTransitionChanged(bool reinit = true);
47     void slotUpdateEffectParams(const QDomElement&, const QDomElement&);
48
49 signals:
50     void transitionUpdated(Transition *, QDomElement);
51     void transferParamDesc(const QDomElement&, int , int);
52     void seekTimeline(int);
53 };
54
55 #endif