]> git.sesse.net Git - kdenlive/blob - src/transitionsettings.h
Add option to move timeline cursor when editing a composite transition for better...
[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 Transition;
26 class EffectsList;
27 class EffectStackEdit;
28
29 class TransitionSettings : public QWidget  {
30     Q_OBJECT
31 public:
32     TransitionSettings(QWidget* parent = 0);
33     void raiseWindow(QWidget*);
34     void updateProjectFormat(MltVideoProfile profile);
35
36 private:
37     Ui::TransitionSettings_UI ui;
38     EffectStackEdit *effectEdit;
39     Transition* m_usedTransition;
40
41 public slots:
42     void slotTransitionItemSelected(Transition*);
43     void slotTransitionChanged(bool reinit = true);
44     void slotUpdateEffectParams(const QDomElement&, const QDomElement&);
45
46 signals:
47     void transitionUpdated(Transition *, QDomElement);
48     void transferParamDesc(const QDomElement&, int , int);
49     void seekTimeline(int);
50 };
51
52 #endif