COPASI API  4.16.103
CQProgressItemBar.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) 2005 - 2007 by Pedro Mendes, Virginia Tech Intellectual
12 // Properties, Inc. and EML Research, gGmbH.
13 // All rights reserved.
14 
15 #ifndef CQPROGRESSITEMBAR_H
16 #define CQPROGRESSITEMBAR_H
17 
18 #include <QtCore/QVariant>
19 #include <QtGui/QLabel>
20 #include "CQProgressItem.h"
21 #include "ui_CQProgressItemBar.h"
22 
24 #include "utilities/CVector.h"
25 
26 class CQProgressItemBar : public CQProgressItem, public Ui::CQProgressItemBar
27 {
28  Q_OBJECT
29 
30 public:
31  CQProgressItemBar(QWidget* parent = 0, const char* name = 0);
33 
34  virtual bool initFromProcessReportItem(CProcessReportItem * pItem);
35  virtual bool process();
36  virtual bool reset();
37 
38 private:
46 
47  virtual void setValueFromDOUBLE();
48  virtual void setValueFromINT();
49  virtual void setValueFromUINT();
50  void destroy();
51  void init();
52 };
53 
54 #endif // CQPROGRESSITEMBAR_H
CCopasiParameter::Value mValue
virtual bool initFromProcessReportItem(CProcessReportItem *pItem)
virtual bool process()
#define C_INT32
Definition: copasi.h:90
virtual bool reset()
void(CQProgressItemBar::* mpSetValue)()
virtual void setValueFromDOUBLE()
virtual void setValueFromUINT()
#define C_FLOAT64
Definition: copasi.h:92
virtual void setValueFromINT()
() void(yyvaluep))
CQProgressItemBar(QWidget *parent=0, const char *name=0)
CCopasiParameter::Value mStart
CCopasiParameter::Value mEnd