COPASI API  4.16.103
CQModelWidget.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 /*
7  * CQModelWidget.h
8  *
9  * Created on: Aug 13, 2010
10  * Author: shoops
11  */
12 
13 #ifndef COPASI_CQModelWidget
14 #define COPASI_CQModelWidget
15 
16 #include <QtGui/QWidget>
17 #include <QtCore/QVariant>
18 
19 #include "copasi/UI/ui_CQModelWidget.h"
20 
21 class CModel;
22 
23 class CQModelWidget : public CopasiWidget, public Ui::CQModelWidget
24 {
25  Q_OBJECT
26 
27 public:
28  CQModelWidget(QWidget* parent = 0, const char* name = 0);
30 
31  virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string & key);
32  virtual bool leave();
33 
34 protected slots:
35  virtual void slotBtnRevertClicked();
36  virtual void slotBtnOKClicked();
37 
38 protected:
39  virtual bool enterProtected();
40 
41 private:
42  void load();
43  void save();
44 
45  // Attributes
47 };
48 
49 #endif // COPASI_CQModelWidget
objectType
virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string &key)
virtual bool leave()
CModel * mpModel
Definition: CQModelWidget.h:46
virtual void slotBtnOKClicked()
CQModelWidget(QWidget *parent=0, const char *name=0)
virtual bool enterProtected()
Definition: CModel.h:50
virtual void slotBtnRevertClicked()