COPASI API  4.16.103
CQParameterOverviewWidget.h
Go to the documentation of this file.
1 // Copyright (C) 2012 - 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 #ifndef COPASI_CQParameterOverviewWidget
7 #define COPASI_CQParameterOverviewWidget
8 
9 #include <QtCore/QVariant>
10 
11 #include "copasi/UI/ui_CQParameterOverviewWidget.h"
12 
13 class CModelParameterSet;
15 class QSortFilterProxyModel;
16 
17 class CQParameterOverviewWidget : public CopasiWidget, public Ui::CQParameterOverviewWidget
18 {
19  Q_OBJECT
20 
21 public:
22  CQParameterOverviewWidget(QWidget* parent = 0, const char* name = 0);
24 
25  virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string & key);
26  virtual bool leave();
27  virtual void setFramework(int framework);
28 
29 private:
30  virtual bool enterProtected();
31  void buildSelectionList();
32 protected:
33 
34 protected slots:
35  virtual void slotBtnRevert();
36  virtual void slotBtnCommit();
37  virtual void slotBtnNew();
38  virtual void slotBtnCopy();
39  virtual void slotBtnDelete();
40  virtual void slotBtnSaveToFile();
41  virtual void slotBtnSaveAs();
42  void slotOpenEditor(const QModelIndex & index);
43  void slotCloseEditor(const QModelIndex & index);
44  void slotResolve(const QModelIndex & index);
45 
46 private:
48 
50 
52 
53  QSortFilterProxyModel * mpParameterSetSortDM;
54 
55  QStringList mGlobalQuantities;
56 };
57 
58 #endif // COPASI_CQParameterOverviewWidget
objectType
CQParameterOverviewDM * mpParameterSetDM
void slotOpenEditor(const QModelIndex &index)
void slotResolve(const QModelIndex &index)
CQParameterOverviewWidget(QWidget *parent=0, const char *name=0)
void slotCloseEditor(const QModelIndex &index)
QSortFilterProxyModel * mpParameterSetSortDM
virtual void setFramework(int framework)
CModelParameterSet * mpParameterSetCopy
virtual bool update(ListViews::ObjectType objectType, ListViews::Action action, const std::string &key)