]> git.sesse.net Git - kdenlive/blob - src/geometryval.h
usable window now, now get the params
[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 "ui_geometryval_ui.h"
23 #include <QWidget>
24 #include <QDomElement>
25
26 //class QGraphicsScene;
27 class GraphicsSceneRectMove;
28 class QGraphicsRectItem;
29 class QMouseEvent;
30
31 class Geometryval : public QWidget {
32 public:
33     Geometryval(QWidget* parent = 0);
34     QDomElement getParamDesc();
35 private:
36     Ui::Geometryval ui;
37     //QGraphicsScene* scene;
38     GraphicsSceneRectMove *scene;
39     QDomElement param;
40     QGraphicsRectItem *paramRect;
41 public slots:
42     void setupParam(const QDomElement&, const QString& paramName, int, int);
43 protected:
44     virtual void mouseMoveEvent(QMouseEvent *event);
45 signals:
46     void parameterChanged();
47 };
48
49 #endif