COPASI API  4.16.103
CQDifferentialEquations.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 // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual
7 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
8 // and The University of Manchester.
9 // All rights reserved.
10 
11 // Copyright (C) 2007 by Pedro Mendes, Virginia Tech Intellectual
12 // Properties, Inc. and EML Research, gGmbH.
13 // All rights reserved.
14 
15 #ifndef CQDIFFERENTIALEQUATIONS_H
16 #define CQDIFFERENTIALEQUATIONS_H
17 
18 #include <QtCore/QVariant>
19 #include <QtGui/QPixmap>
20 #include <QtGui/QLabel>
21 
22 class QtMmlWidget;
23 
24 #include <sstream>
25 #include "copasiWidget.h"
26 
27 #include "copasi/UI/ui_CQDifferentialEquations.h"
28 
29 class CQDifferentialEquations : public CopasiWidget, public Ui::CQDifferentialEquations
30 {
31  Q_OBJECT
32 
33 public:
34  CQDifferentialEquations(QWidget* parent = 0, const char* name = 0);
36 
37 public slots:
38  virtual void slotUpdateWidget();
39  virtual void slotSave();
40 
41 protected:
42  std::ostringstream mml;
43  virtual bool enterProtected();
44 
45 protected slots:
46 
47 private:
48  void init();
49  virtual void newFunction();
50  virtual void saveMML(const QString filename);
51  virtual void savePNG(const QString filename);
52  virtual void saveTeX(const QString filename);
53 };
54 
55 #endif // CQDIFFERENTIALEQUATIONS_H
CQDifferentialEquations(QWidget *parent=0, const char *name=0)
virtual void savePNG(const QString filename)
virtual void saveMML(const QString filename)
virtual void saveTeX(const QString filename)