]> git.sesse.net Git - kdenlive/blob - src/geometryval.cpp
first classes for geometry widget
[kdenlive] / src / geometryval.cpp
1 /***************************************************************************
2                           geomeytrval.cpp  -  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
19 #include "geometryval.h"
20 #include <QGraphicsView>
21 #include <QVBoxLayout>
22 #include <QGraphicsScene>
23 #include "graphicsscenerectmove.h"
24
25 Geometryval::Geometryval(QWidget* parent): QWidget(parent) {
26     ui.setupUi(this);
27     QVBoxLayout* vbox = new QVBoxLayout(this);
28     ui.widget->setLayout(vbox);
29     QGraphicsView *view = new QGraphicsView(this);
30     vbox->addWidget(view);
31     //scene= new QGraphicsScene;
32
33     scene = new GraphicsSceneRectMove(this);
34     view->setScene(scene);
35 }
36 QDomElement Geometryval::getParamDesc() {}
37
38 void Geometryval::setupParam(const QDomElement&, const QString& paramName, int, int) {}