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>
20 class ParameterPlotter : public KPlotWidget {
23 ParameterPlotter (QWidget *parent=0);
24 virtual ~ParameterPlotter(){}
27 void setMoveTimeLine(bool);
28 void setNewPoints(bool);
31 bool isMoveTimeline();
33 void replot(const QString& name="");
35 KPlotPoint* movepoint;
37 bool m_moveX,m_moveY,m_moveTimeline,m_newPoints;
40 QStringList parameterNameList;
41 void createParametersNew();
42 QList<KPlotObject*> plotobjects;
46 void mouseMoveEvent ( QMouseEvent * event );
47 void mousePressEvent ( QMouseEvent * event );
49 void setPointLists(const QList< QPair<QString, QMap<int,QVariant> > >&,int,int);
51 void parameterChanged(QList< QPair<QString, QMap<int,QVariant> > > );
52 void updateFrame(int);