Abstraction for a display widget that can show the progress of an operation. More...
#include <ProgressMonitor.h>
Public Member Functions | |
| virtual void | initialize (const String &)=0 |
| Initialize the monitor with the identifying operation. | |
| virtual void | setProgress (unsigned int, const String &)=0 |
| Set the progress to a specific amount and status. | |
| virtual void | finalize ()=0 |
| Stop the progress. | |
| virtual void | setAllowedOperations (bool background, bool pauseResume, bool cancel)=0 |
| Set whether the user is allowed to cancel, put the operation in the background, or pause/resume the operation. | |
Protected Member Functions | |
| ProgressMonitor () | |
| virtual | ~ProgressMonitor () |
Abstraction for a display widget that can show the progress of an operation.
Definition at line 40 of file ProgressMonitor.h.
| casa::ProgressMonitor::ProgressMonitor | ( | ) | [inline, protected] |
Definition at line 52 of file ProgressMonitor.h.
| virtual casa::ProgressMonitor::~ProgressMonitor | ( | ) | [inline, protected, virtual] |
Definition at line 53 of file ProgressMonitor.h.
| virtual void casa::ProgressMonitor::finalize | ( | ) | [pure virtual] |
Stop the progress.
Implemented in casa::QtProgressWidget.
| virtual void casa::ProgressMonitor::initialize | ( | const String & | ) | [pure virtual] |
Initialize the monitor with the identifying operation.
Implemented in casa::QtProgressWidget.
| virtual void casa::ProgressMonitor::setAllowedOperations | ( | bool | background, | |
| bool | pauseResume, | |||
| bool | cancel | |||
| ) | [pure virtual] |
Set whether the user is allowed to cancel, put the operation in the background, or pause/resume the operation.
Implemented in casa::QtProgressWidget.
| virtual void casa::ProgressMonitor::setProgress | ( | unsigned | int, | |
| const String & | ||||
| ) | [pure virtual] |
Set the progress to a specific amount and status.
Implemented in casa::QtProgressWidget.
1.6.1