#include <CProgressBar.h>
List of all members.
Detailed Description
This is used to call the progress bar code We do not want to call GUI stuff directly from the CModel.
Constructor & Destructor Documentation
CProgressBar::CProgressBar |
( |
QWidget * |
parent = 0 , |
|
|
const char * |
name = 0 , |
|
|
bool |
modal = false , |
|
|
Qt::WFlags |
fl = 0 |
|
) |
| |
CProgressBar::~CProgressBar |
( |
| ) |
[virtual] |
Member Function Documentation
unsigned C_INT32 CProgressBar::addItem |
( |
const std::string & |
name, |
|
|
const CCopasiParameter::Type & |
type, |
|
|
const void * |
pValue, |
|
|
const void * |
pEndValue = NULL |
|
) |
| [virtual] |
Add a process report item to to the list of reporting items. The return value is the handle of the item and can be used to indicate process, finish, or reset the item. If the method fails C_INVALID_INDEX is returned.
- Parameters:
-
- Returns:
- unsigned C_INT32 handle
Reimplemented from CProcessReport.
void CProgressBar::btnContinuePressed |
( |
| ) |
[protected, virtual, slot] |
void CProgressBar::btnStopPressed |
( |
| ) |
[protected, virtual, slot] |
void CProgressBar::closeEvent |
( |
QCloseEvent * |
e | ) |
[protected, virtual] |
bool CProgressBar::finish |
( |
| ) |
[virtual] |
Indicate that all items are finished reporting. All item handles loose their validity. If the return value is false the calling process must halt execution and return.
- Parameters:
-
Reimplemented from CProcessReport.
bool CProgressBar::finishItem |
( |
const unsigned C_INT32 & |
handle | ) |
[virtual] |
Indicate that item handle is finished reporting. The handle of that item is no longer valid after the call. If the return value is false the calling process must halt execution and return.
- Parameters:
-
const | unsigned C_INT32 & handle |
bool | continue |
Reimplemented from CProcessReport.
bool CProgressBar::proceed |
( |
| ) |
[virtual] |
Check whether processing shall proceed. If the return value is false the calling process must halt execution and return. This method is provided so that lengthy processing without advances in any of the reporting items can check whether continuation is requested.
- Parameters:
-
Reimplemented from CProcessReport.
bool CProgressBar::progressItem |
( |
const unsigned C_INT32 & |
handle | ) |
[virtual] |
Report process on item handle. If the return value is false the calling process must halt execution and return.
- Parameters:
-
const | unsigned C_INT32 & handle |
bool | continue |
Reimplemented from CProcessReport.
bool CProgressBar::resetItem |
( |
const unsigned C_INT32 & |
handle | ) |
[virtual] |
Reset item handle. This means that the value of the item has changed but not as part of a continuous process. If you run multiple processes call reset between them. If the return value is false the calling process must halt execution and return.
- Parameters:
-
const | unsigned C_INT32 & handle |
bool | continue |
Reimplemented from CProcessReport.
bool CProgressBar::setName |
( |
const std::string & |
name | ) |
[virtual] |
Set the name of the process.
- Parameters:
-
- Returns:
- success
Reimplemented from CProcessReport.
void CProgressBar::signalAddItem |
( |
const unsigned int |
handle | ) |
[signal] |
void CProgressBar::signalFinishItem |
( |
const unsigned int |
handle | ) |
[signal] |
void CProgressBar::signalProgressAll |
( |
| ) |
[signal] |
void CProgressBar::signalSetName |
( |
QString |
name | ) |
[signal] |
void CProgressBar::slotAddItem |
( |
const unsigned int |
handle | ) |
[protected, virtual, slot] |
void CProgressBar::slotFinishItem |
( |
const unsigned int |
handle | ) |
[protected, virtual, slot] |
void CProgressBar::slotProgressAll |
( |
| ) |
[protected, virtual, slot] |
void CProgressBar::slotSetName |
( |
QString |
name | ) |
[protected, virtual, slot] |
Member Data Documentation
The documentation for this class was generated from the following files: