COPASI API  4.16.103
CQTrajectoryWidget.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/UI/CQTrajectoryWidget.h,v $
3 // $Revision: 1.12 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2011/09/23 18:39:01 $
7 // End CVS Header
8 
9 // Copyright (C) 2011 - 2010 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
15 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
16 // and The University of Manchester.
17 // All rights reserved.
18 
19 #ifndef CQTRAJECTORYWIDGET_H
20 #define CQTRAJECTORYWIDGET_H
21 
22 #include <QtCore/QVariant>
23 
24 #include "ui_CQTrajectoryWidget.h"
25 
26 class CTrajectoryProblem;
27 class CQValidatorInt;
28 class CQValidatorDouble;
29 
30 #include "TaskWidget.h"
31 
32 #define TSMAX 10000000
33 
34 class CQTrajectoryWidget : public TaskWidget, public Ui::CQTrajectoryWidget
35 {
36  Q_OBJECT
37 
38 public:
39  CQTrajectoryWidget(QWidget* parent = 0, const char* name = 0);
40  virtual ~CQTrajectoryWidget();
41 
42  virtual bool runTask();
43  virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string & key);
44 
45 public slots:
46  void slotDuration();
47  void slotIntervalSize();
48  void slotIntervals();
49  void updateIntervals();
50  void slotOutputDelay(bool checked);
51 
52 protected:
53  virtual bool saveTask();
54  virtual bool loadTask();
55  virtual bool taskFinishedEvent();
56  virtual CCopasiMethod * createMethod(const CCopasiMethod::SubType & type);
57 
58 protected slots:
59 
60 private:
66 
67  void init();
68  void destroy();
69  void checkTimeSeries();
70  void showUnits();
71 };
72 
73 #endif // CQTRAJECTORYWIDGET_H
CQValidatorDouble * mpValidatorDelay
objectType
CQValidatorInt * mpValidatorIntervals
CQValidatorDouble * mpValidatorDuration
CQValidatorDouble * mpValidatorIntervalSize
CTrajectoryProblem * mpTrajectoryProblem
virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string &key)
CQTrajectoryWidget(QWidget *parent=0, const char *name=0)
virtual CCopasiMethod * createMethod(const CCopasiMethod::SubType &type)
void slotOutputDelay(bool checked)
virtual bool taskFinishedEvent()