]> git.sesse.net Git - kdenlive/blob - src/transitionsettings.h
Fix param update when switching between 2 transitions
[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 #include "ui_transitionsettings_ui.h"
20 #include <QDomElement>
21
22 class Transition;
23 class EffectsList;
24 class EffectStackEdit;
25
26 class TransitionSettings : public QWidget  {
27     Q_OBJECT
28 public:
29     TransitionSettings(QWidget* parent = 0);
30     void raiseWindow(QWidget*);
31 private:
32     Ui::TransitionSettings_UI ui;
33     EffectStackEdit *effectEdit;
34     Transition* m_usedTransition;
35
36 public slots:
37     void slotTransitionItemSelected(Transition*);
38     void slotTransitionChanged(bool reinit = true);
39     void slotUpdateEffectParams(const QDomElement&, const QDomElement&);
40
41 signals:
42     void transitionUpdated(Transition *, QDomElement);
43     void transferParamDesc(const QDomElement&, int , int);
44 };
45
46 #endif