COPASI API  4.16.103
curve2dwidget.h
Go to the documentation of this file.
1 // Copyright (C) 2010 - 2013 by Pedro Mendes, Virginia Tech Intellectual
2 // Properties, Inc., University of Heidelberg, and The University
3 // of Manchester.
4 // All rights reserved.
5 
6 #ifndef CURVE2DWIDGET_H
7 #define CURVE2DWIDGET_H
8 
10 #include "copasi/plotUI/ui_curve2dwidget.h"
11 
12 class CCopasiObject;
13 class CModel;
14 class CPlotItem;
15 
16 class Curve2DWidget : public CQPlotEditWidget, public Ui::Curve2DWidget
17 {
18  Q_OBJECT
19 
20 public:
21  Curve2DWidget(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0);
23 
24  virtual bool LoadFromCurveSpec(const CPlotItem * curve);
25  virtual bool SaveToCurveSpec(CPlotItem * curve, const CPlotItem *original = NULL) const;
26 
27  /**
28  * In multiple edit mode, we don't want to edit name & channels
29  */
30  virtual void setMultipleEditMode(bool mode);
31 
32 protected:
35 
36 protected slots:
37 
38  virtual void buttonPressedX();
39  virtual void buttonPressedY();
40  virtual void typeChanged(int linetype);
41 };
42 
43 #endif // CURVE2DWIDGET_H
virtual bool LoadFromCurveSpec(const CPlotItem *curve)
virtual void typeChanged(int linetype)
virtual void setMultipleEditMode(bool mode)
const CCopasiObject * mpObjectY
Definition: curve2dwidget.h:33
Curve2DWidget(QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=0)
virtual void buttonPressedY()
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
Definition: CModel.h:50
virtual bool SaveToCurveSpec(CPlotItem *curve, const CPlotItem *original=NULL) const
virtual void buttonPressedX()
const CCopasiObject * mpObjectX
Definition: curve2dwidget.h:34