COPASI API  4.16.103
CQOptimizationResult.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/UI/CQOptimizationResult.h,v $
3 // $Revision: 1.12 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2011/10/14 16:38:31 $
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 // 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 CQOPTIMIZATIONRESULT_H
20 #define CQOPTIMIZATIONRESULT_H
21 
22 #include <QtCore/QVariant>
23 
24 #include "copasi/UI/ui_CQOptimizationResult.h"
25 
26 class COptTask;
27 class COptProblem;
28 
29 class CQOptimizationResult : public CopasiWidget, public Ui::CQOptimizationResult
30 {
31  Q_OBJECT
32 
33 public:
34  CQOptimizationResult(QWidget* parent = 0, const char* name = 0);
36 
37  virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string & key);
38  virtual bool leave();
39 
40 protected:
41  virtual bool enterProtected();
42 
43 protected slots:
44 
45 private:
47  const COptTask * mpTask;
48 
49  void init();
50 
51 private slots:
52  void slotSave(void);
53  void slotUpdateModel();
54 };
55 
56 #endif // CQOPTIMIZATIONRESULT_H
objectType
const COptProblem * mpProblem
virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string &key)
CQOptimizationResult(QWidget *parent=0, const char *name=0)