COPASI API  4.16.103
HistoWidget.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 HISTOWIDGET_H
7 #define HISTOWIDGET_H
8 
9 #include <QtCore/QVariant>
10 
11 #include "copasi/plotUI/ui_HistoWidget.h"
13 
14 class CCopasiObject;
15 class CModel;
16 class CPlotItem;
17 
18 class HistoWidget : public CQPlotEditWidget, public Ui::HistoWidget
19 {
20  Q_OBJECT
21 
22 public:
23  HistoWidget(QWidget* parent = 0, Qt::WindowFlags fl = 0);
24  ~HistoWidget();
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:
36 
37 protected slots:
38 
39  virtual void buttonPressedX();
40 };
41 
42 #endif // HISTOWIDGET_H
const CCopasiObject * mpObjectX
Definition: HistoWidget.h:35
virtual bool SaveToCurveSpec(CPlotItem *curve, const CPlotItem *original=NULL) const
virtual void setMultipleEditMode(bool mode)
virtual void buttonPressedX()
Definition: HistoWidget.cpp:34
HistoWidget(QWidget *parent=0, Qt::WindowFlags fl=0)
Definition: HistoWidget.cpp:20
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
Definition: CModel.h:50
virtual bool LoadFromCurveSpec(const CPlotItem *curve)
Definition: HistoWidget.cpp:78