COPASI API  4.16.103
BandedGraphWidget.h
Go to the documentation of this file.
1 // Copyright (C) 2011 - 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 BANDEDGRAPHWIDGET_H
7 #define BANDEDGRAPHWIDGET_H
8 
9 #include <QtCore/QVariant>
10 
11 #include "copasi/plotUI/ui_BandedGraphWidget.h"
13 
14 class CCopasiObject;
15 class CModel;
16 class CPlotItem;
17 
18 class BandedGraphWidget : public CQPlotEditWidget, public Ui::BandedGraphWidget
19 {
20  Q_OBJECT
21 
22 public:
23  BandedGraphWidget(QWidget* parent = 0, const char* name = 0, Qt::WindowFlags fl = 0);
25 
26  virtual bool LoadFromCurveSpec(const CPlotItem * curve);
27  virtual bool SaveToCurveSpec(CPlotItem * curve, const CPlotItem *original = NULL) const;
28 
29  /**
30  * In multiple edit mode, we don't want to edit name & channels
31  */
32  virtual void setMultipleEditMode(bool mode);
33 
34 protected:
38 
39 protected slots:
40 
41  virtual void buttonPressedX();
42  virtual void buttonPressedY() {buttonPressedYone();};
43  void buttonPressedYone();
44  void buttonPressedYtwo();
45 };
46 
47 #endif // BANDEDGRAPHWIDGET_H
BandedGraphWidget(QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=0)
virtual void buttonPressedX()
const CCopasiObject * mpObjectYone
const CCopasiObject * mpObjectYtwo
const CCopasiObject * mpObjectX
virtual void buttonPressedY()
virtual bool SaveToCurveSpec(CPlotItem *curve, const CPlotItem *original=NULL) const
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
Definition: CModel.h:50
virtual void setMultipleEditMode(bool mode)
virtual bool LoadFromCurveSpec(const CPlotItem *curve)