COPASI API  4.16.103
CQProgressItem.cpp
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /fs/turing/cvs/copasi_dev/cvs_admin/addHeader,v $
3 // $Revision: 1.11 $
4 // $Name: $
5 // $Author: shoops $
6 // $Date: 2009/07/14 11:09:51 $
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 #include "CQProgressItem.h"
20 
21 //#include <QtCore/QVariant>
22 //#include "CQProgressItem.ui.h"
23 /*
24  * Constructs a CQProgressItem as a child of 'parent', with the
25  * name 'name' and widget flags set to 'f'.
26  */
27 CQProgressItem::CQProgressItem(QWidget* parent, const char* name, Qt::WindowFlags fl)
28  : QWidget(parent, fl)
29 {
30  setObjectName(QString::fromUtf8(name));
31  setupUi(this);
32 }
33 
34 /*
35  * Destroys the object and frees any allocated resources
36  */
38 {
39  // no need to delete child widgets, Qt does it all for us
40  pdelete(mpItem);
41 }
42 
44 {return false;}
45 
47 {return false;}
48 
50 {return false;}
#define pdelete(p)
Definition: copasi.h:215
virtual bool reset()
virtual bool process()
CProcessReportItem * mpItem
virtual bool initFromProcessReportItem(CProcessReportItem *pItem)
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
CQProgressItem(QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=0)