1 /***************************************************************************
2 keyframeedit.h - description
5 copyright : (C) 2008 by Jean-Baptiste Mardelle
6 email : jb@kdenlive.org
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 ***************************************************************************/
18 #ifndef KEYFRAMEEDIT_H
19 #define KEYFRAMEEDIT_H
23 #include <QDomElement>
26 #include "ui_keyframeeditor_ui.h"
27 #include "definitions.h"
28 #include "keyframehelper.h"
30 //class QGraphicsScene;
32 class KeyframeEdit : public QWidget
36 explicit KeyframeEdit(QDomElement e, int max, Timecode tc, QWidget* parent = 0);
37 void setupParam(QDomElement e = QDomElement());
40 Ui::KeyframeEditor_UI m_ui;
50 void slotDeleteKeyframe();
51 void slotAddKeyframe();
52 void slotGenerateParams(QTreeWidgetItem *item = NULL, int column = -1);
53 void slotAdjustKeyframeInfo();
54 void slotAdjustKeyframeValue(int value);
55 void slotSaveCurrentParam(QTreeWidgetItem *item, int column);
58 void parameterChanged();