1 /***************************************************************************
2 parameterplotter.h - 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 ***************************************************************************/
18 #include <KPlotWidget>
19 #include <QDomElement>
22 class ParameterPlotter : public KPlotWidget {
25 ParameterPlotter (QWidget *parent=0);
26 virtual ~ParameterPlotter(){}
29 void setMoveTimeLine(bool);
30 void setNewPoints(bool);
33 bool isMoveTimeline();
35 void replot(const QString& name="");
37 KPlotPoint* movepoint;
39 bool m_moveX,m_moveY,m_moveTimeline,m_newPoints;
42 QStringList parameterNameList;
43 void createParametersNew();
44 QList<KPlotObject*> plotobjects;
45 QMap<int,double> stretchFactors;
47 QDomElement itemParameter;
50 void mouseMoveEvent ( QMouseEvent * event );
51 void mousePressEvent ( QMouseEvent * event );
53 void setPointLists(const QDomElement&,int ,int);
55 void parameterChanged(QDomElement );
56 void updateFrame(int);
57 void parameterList(QStringList);