OSTC Companion
3.0
Companion sofftware for H&W dive computers
|
#include <ProgressEvent.h>
Public Member Functions | |
ProgressManager () | |
void | setMainWindow (QObject *main) |
Define who manage ProgressEvent events. More... | |
void | post (int current=101, int range=100) |
Send (async) progress updates to the main progress bar. Use ProgressEvent class to post updates and resets to the progress bar, displayed by the main thread. When current > range, this is a reset... More... | |
Static Public Member Functions | |
static ProgressManager * | getInstance () |
ProgressManager::ProgressManager | ( | ) |
|
static |
void ProgressManager::post | ( | int | current = 101 , |
int | range = 100 |
||
) |
Send (async) progress updates to the main progress bar. Use ProgressEvent class to post updates and resets to the progress bar, displayed by the main thread. When current > range, this is a reset...
void ProgressManager::setMainWindow | ( | QObject * | main | ) |
Define who manage ProgressEvent events.