COPASI API  4.16.103
CQProgressDialog.h
Go to the documentation of this file.
1 // Copyright (C) 2010 - 2014 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 CQPROGRESSDIALOG_H
16 #define CQPROGRESSDIALOG_H
17 
18 #include <QtGui/QDialog>
19 
20 #include "copasi/UI/ui_CQProgressDialog.h"
21 
22 class CQProgressDialog : public QDialog, public Ui::CQProgressDialog
23 {
24  Q_OBJECT
25 
26 public:
27  CQProgressDialog(QWidget* parent = 0, const char* name = 0, Qt::WindowModality windowModality = Qt::WindowModal, Qt::WindowFlags fl = 0);
29 
30  bool insertProgressItem(CQProgressItem * pItem);
31  bool removeProgressItem(CQProgressItem * pItem);
32 
33 protected:
34  bool mProceed;
35  bool mPause;
36 
37 protected slots:
38 
39  virtual void btnStopPressed();
40  virtual void btnPausePressed();
41  virtual void btnContinuePressed();
42  void timerShow();
43 
44  virtual void done(int);
45  virtual void accept();
46  virtual void reject();
47 
48 private:
49  unsigned C_INT32 mItemCount;
50 
51  void init();
52 };
53 
54 #endif // CQPROGRESSDIALOG_H
unsigned C_INT32 mItemCount
virtual void done(int)
bool removeProgressItem(CQProgressItem *pItem)
#define C_INT32
Definition: copasi.h:90
bool insertProgressItem(CQProgressItem *pItem)
CQProgressDialog(QWidget *parent=0, const char *name=0, Qt::WindowModality windowModality=Qt::WindowModal, Qt::WindowFlags fl=0)
virtual void btnContinuePressed()
virtual void btnPausePressed()
bool fl(const C_FLOAT64 &d1, const C_FLOAT64 &d2)
virtual void accept()
virtual void reject()
virtual void btnStopPressed()