COPASI API  4.16.103
ScanWidget.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 // Copyright (C) 2003 - 2007 by Pedro Mendes, Virginia Tech Intellectual
12 // Properties, Inc. and EML Research, gGmbH.
13 // All rights reserved.
14 
15 #ifndef SCANWIDGET_H
16 #define SCANWIDGET_H
17 
18 #include "copasi.h"
19 #include "TaskWidget.h"
20 
21 #include <QtGui/QGridLayout>
22 #include <QtGui/QHBoxLayout>
23 
24 class QPushButton;
25 class QComboBox;
26 
28 
29 class ScanWidget : public TaskWidget
30 {
31  Q_OBJECT
32 
33 public:
34  ScanWidget(QWidget* parent = 0, const char* name = 0, Qt::WFlags fl = 0);
35  ~ScanWidget();
36 
37  virtual bool runTask();
38 
39 protected:
40 
41  virtual bool loadTask();
42 
43  virtual bool saveTask();
44 
45  //dummy, should not be used in this widget
46  virtual CCopasiMethod * createMethod(const CCopasiMethod::SubType & /*type*/) {return NULL;};
47 
49 
50  QPushButton* buttonNewItem;
51  QComboBox* comboType;
52 
53  QGridLayout* ScanWidgetLayout;
54 
55 protected slots:
56  bool slotAddItem();
57 };
58 
59 #endif
virtual bool loadTask()
Definition: ScanWidget.cpp:130
CScanContainerWidget * scrollview
Definition: ScanWidget.h:46
QGridLayout * ScanWidgetLayout
Definition: ScanWidget.h:53
ScanWidget(QWidget *parent=0, const char *name=0, Qt::WFlags fl=0)
Definition: ScanWidget.cpp:56
bool slotAddItem()
Definition: ScanWidget.cpp:203
virtual bool saveTask()
Definition: ScanWidget.cpp:304
QComboBox * comboType
Definition: ScanWidget.h:51
QPushButton * buttonNewItem
Definition: ScanWidget.h:50
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
virtual CCopasiMethod * createMethod(const CCopasiMethod::SubType &)
Definition: ScanWidget.h:46
virtual bool runTask()
Definition: ScanWidget.cpp:119