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>
21 class ParameterPlotter : public KPlotWidget {
24 ParameterPlotter (QWidget *parent=0);
25 virtual ~ParameterPlotter(){}
28 void setMoveTimeLine(bool);
29 void setNewPoints(bool);
32 bool isMoveTimeline();
34 void replot(const QString& name="");
36 KPlotPoint* movepoint;
38 bool m_moveX,m_moveY,m_moveTimeline,m_newPoints;
41 QStringList parameterNameList;
42 void createParametersNew();
43 QList<KPlotObject*> plotobjects;
45 QDomElement itemParameter;
47 void mouseMoveEvent ( QMouseEvent * event );
48 void mousePressEvent ( QMouseEvent * event );
50 void setPointLists(const QDomElement&,int ,int);
52 void parameterChanged(QDomElement );
53 void updateFrame(int);