1 /***************************************************************************
2 geomeytrval.cpp - description
5 copyright : (C) 2008 by Marco Gittler
6 email : g.marco@freenet.de
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 ***************************************************************************/
19 #include "geometryval.h"
20 #include <QGraphicsView>
21 #include <QVBoxLayout>
22 #include <QGraphicsScene>
23 #include "graphicsscenerectmove.h"
25 Geometryval::Geometryval(QWidget* parent): QWidget(parent) {
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;
33 scene = new GraphicsSceneRectMove(this);
34 view->setScene(scene);
36 QDomElement Geometryval::getParamDesc() {}
38 void Geometryval::setupParam(const QDomElement&, const QString& paramName, int, int) {}