]> git.sesse.net Git - kdenlive/blob - src/keyframeedit.h
Some progress on keyframe editor
[kdenlive] / src / keyframeedit.h
1 /***************************************************************************
2                           keyframeedit.h  -  description
3                              -------------------
4     begin                : 22 Jun 2009
5     copyright            : (C) 2008 by Jean-Baptiste Mardelle
6     email                : jb@kdenlive.org
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
18 #ifndef KEYFRAMEEDIT_H
19 #define KEYFRAMEEDIT_H
20
21
22 #include <QWidget>
23 #include <QDomElement>
24
25
26 #include "ui_keyframeeditor_ui.h"
27 #include "definitions.h"
28 #include "keyframehelper.h"
29
30 //class QGraphicsScene;
31
32 class KeyframeEdit : public QWidget
33 {
34     Q_OBJECT
35 public:
36     explicit KeyframeEdit(Timecode tc, QWidget* parent = 0);
37     void setupParam(int maxFrame, int minValue, int maxValue, QString keyframes);
38
39 private:
40     Ui::KeyframeEditor_UI m_ui;
41     Timecode m_timecode;
42     int m_min;
43     int m_max;
44     int m_maxFrame;
45
46 public slots:
47
48
49 private slots:
50
51 signals:
52     void parameterChanged();
53     void seekToPos(int);
54 };
55
56 #endif