![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <hds_module_progress.hpp>
Public Member Functions | |
| ModuleProgress () | |
| virtual | ~ModuleProgress () |
| void | show () const |
| void | hide () const |
| void | setValue (int val) const |
| void | setRanges (int min, int max) const |
| void | setStatus (const QString &status) const |
| void | attachMessenger (const hds::Messenger &messenger) |
| void | removeMessengers () |
Protected Attributes | |
| QVector< const hds::Messenger * > | m_messengers_ptrs |
Provides module progress control via attached messengers.
| hds::ModuleProgress::ModuleProgress | ( | ) |
Default constructor.
|
virtual |
Destructor.
| void hds::ModuleProgress::attachMessenger | ( | const hds::Messenger & | messenger | ) |
Attach messenger (just copy a pointer, not the object).
| void hds::ModuleProgress::hide | ( | ) | const |
Hide progress.
| void hds::ModuleProgress::removeMessengers | ( | ) |
Remove all loggers from the module.
| void hds::ModuleProgress::setRanges | ( | int | min, |
| int | max | ||
| ) | const |
Set progress ranges.
| void hds::ModuleProgress::setStatus | ( | const QString & | status | ) | const |
Set status string.
| void hds::ModuleProgress::setValue | ( | int | val | ) | const |
Set progress current value.
| void hds::ModuleProgress::show | ( | ) | const |
Show progress.
|
protected |
Array of loggers pointers provided for the module.
1.8.5