Public Member Functions | |
void | maximum (double nm) |
double | maximum () |
void | minimum (double nm) |
double | minimum () |
void | position (double pos) |
double | position () |
ProgressBar (int x, int y, int w, int h, const char *lbl=0) | |
void | range (double min, double max, double step=1) |
bool | showtext () |
void | showtext (bool st) |
double | step () |
void | step (double step) |
Color | text_color () |
void | text_color (Color col) |
Protected Member Functions | |
void | draw () |
Protected Attributes | |
double | mMax |
double | mMin |
double | mPresent |
bool | mShowPct |
double | mStep |
Color | mTextColor |
|
A shorthand for minimum(), maximum() and step(). |
|
Increase bar length with given step and redraw widget. If value goes out of minimum() and maximum() bounds, it will be ignored. |
|
Set minimal value for in the progess widget. |
|
Set maximal value for in the progess widget. It should represent operation length. |
|
Set position of bar in progress widget and redraw it. If value goes out of minimum()/maximum() bounds, it will be ignored. |
|
Shows completition percentage inside progress widget. |