COPASI API  4.16.103
CQOscillationTaskWidget.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/UI/CQOscillationTaskWidget.h,v $
3 // $Revision: 1.3 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2011/09/30 16:39:40 $
7 // End CVS Header
8 
9 // Copyright (C) 2011 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., University of Heidelberg, and The University
11 // of Manchester.
12 // All rights reserved.
13 
14 /*
15  * Created by Paul on 08/05/11.
16  */
17 
18 #ifndef CQOSCILLATIONTASKWIDGET_H
19 #define CQOSCILLATIONTASKWIDGET_H
20 
21 #include <QtCore/QVariant>
22 
23 #include "ui_CQOscillationTaskWidget.h"
24 
25 #include "TaskWidget.h"
26 
27 class CQOscillationTaskWidget : public TaskWidget, public Ui::CQOscillationTaskWidget
28 {
29  Q_OBJECT
30 
31 public:
32  CQOscillationTaskWidget(QWidget* parent = 0, const char* name = 0);
33  virtual ~CQOscillationTaskWidget();
34 
35  virtual bool runTask();
36  virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string & key);
37 
38 protected:
39  virtual bool saveTask();
40  virtual bool loadTask();
41 // virtual bool taskFinishedEvent();
42  virtual CCopasiMethod * createMethod(const CCopasiMethod::SubType & type);
43 
44 protected slots:
45 
46 private:
47  void init();
48 };
49 
50 #endif
objectType
virtual CCopasiMethod * createMethod(const CCopasiMethod::SubType &type)
virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string &key)
CQOscillationTaskWidget(QWidget *parent=0, const char *name=0)