libyui
|
#include <YProgressBar.h>
Protected Member Functions | |
YProgressBar (YWidget *parent, const std::string &label, int maxValue=100) | |
![]() | |
YWidget (YWidget *parent) | |
YWidgetChildrenManager * | childrenManager () const |
void | setChildrenManager (YWidgetChildrenManager *manager) |
void | setBeingDestroyed () |
void | dumpWidget (YWidget *w, int indentationLevel) |
A progress bar, showing completion of value() out of maxValue() parts.
|
protected |
Constructor.
|
virtual |
Destructor.
|
virtual |
string YProgressBar::label | ( | ) |
Get the label (the caption above the progress bar).
int YProgressBar::maxValue | ( | ) | const |
Return the maximum progress value. Notice that this value can only be set in the constructor.
|
virtual |
Set the label (the caption above the progress bar).
Derived classes are free to reimplement this, but they should call this base class method at the end of the overloaded function.
|
virtual |
Set the current progress value ( <= maxValue() ).
Derived classes should reimplement this, but they should call this base class method at the end of the overloaded function.
int YProgressBar::value | ( | ) | const |
Return the current progress value.
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget.