]> git.sesse.net Git - kdenlive/blob - src/geometryval.h
First steps to a working composite transition
[kdenlive] / src / geometryval.h
1 /***************************************************************************
2                           geomeytrval.h  -  description
3                              -------------------
4     begin                : 03 Aug 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
18 #ifndef GEOMETRYVAL_H
19 #define GEOMETRYVAL_H
20
21
22 #include <QWidget>
23 #include <QDomElement>
24
25 #include <mlt++/Mlt.h>
26
27 #include "ui_geometryval_ui.h"
28 #include "definitions.h"
29 #include "keyframehelper.h"
30
31 //class QGraphicsScene;
32 class GraphicsSceneRectMove;
33 class QGraphicsRectItem;
34 class QMouseEvent;
35
36 class Geometryval : public QWidget {
37     Q_OBJECT
38 public:
39     Geometryval(const MltVideoProfile profile, QWidget* parent = 0);
40     QDomElement getParamDesc();
41 private:
42     Ui::Geometryval ui;
43     MltVideoProfile m_profile;
44     //QGraphicsScene* scene;
45     GraphicsSceneRectMove *scene;
46     QDomElement param;
47     QGraphicsRectItem *paramRect;
48     Mlt::Geometry *m_geom;
49     KeyframeHelper *m_helper;
50
51 public slots:
52     void setupParam(const QDomElement&, int, int);
53     void moveEvent();
54
55 private slots:
56     void slotNextFrame();
57     void slotPreviousFrame();
58
59 signals:
60     void parameterChanged();
61 };
62
63 #endif