COPASI API  4.16.103
CQMoietiesTaskResult.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 #ifndef CQMOIETIESTASKRESULT_H
12 #define CQMOIETIESTASKRESULT_H
13 
14 #include <QtCore/QVariant>
15 
16 #include "copasi/UI/ui_CQMoietiesTaskResult.h"
17 
18 class QSignalMapper;
19 class CMoietiesTask;
20 
21 class CQMoietiesTaskResult : public CopasiWidget, public Ui::CQMoietiesTaskResult
22 {
23  Q_OBJECT
24 
25 public:
26  CQMoietiesTaskResult(QWidget* parent = 0, const char* name = 0);
28 
29  void clear();
30  virtual bool leave();
31  virtual void setFramework(int framework);
32  void load();
33  virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string & key);
34 
35 protected:
36  virtual bool enterProtected();
37 
39 
40 protected slots:
41 
42 private:
43  void init();
44 
45 private slots:
46  void slotSave(void);
47  void slotCreateGlobalQuantity(const QModelIndex & index);
48 };
49 
50 #endif // CQMOIETIESTASKRESULT_H
objectType
CQMoietiesTaskResult(QWidget *parent=0, const char *name=0)
virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string &key)
virtual void setFramework(int framework)
CMoietiesTask * mpMoietiesTask
void slotCreateGlobalQuantity(const QModelIndex &index)