libyui
|
#include <YBusyIndicator.h>
Protected Member Functions | |
YBusyIndicator (YWidget *parent, const std::string &label, int timeout=1000, bool alive=true) | |
![]() | |
YWidget (YWidget *parent) | |
YWidgetChildrenManager * | childrenManager () const |
void | setChildrenManager (YWidgetChildrenManager *manager) |
void | setBeingDestroyed () |
void | dumpWidget (YWidget *w, int indentationLevel) |
Indicates that something is in progress and has not frozen yet. It has a label and an "indeterminate" progress bar which will be "ticking" until a timeout occurs or until it receives an "alive" message.
|
protected |
Constructor.
|
virtual |
Destructor.
bool YBusyIndicator::alive | ( | ) | const |
Return whether busy indicator is alive or in stalled stated.
|
virtual |
string YBusyIndicator::label | ( | ) |
Get the label (the caption above the progress bar).
|
virtual |
Send a keep alive message to prevent BusyIndicator from changing to 'stalled' state.
Derived classes should reimplement this, but they should call this base class method at the end of the overloaded function.
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 timeout in milliseconds after that the widget shows 'stalled' when no new tick is received.
Derived classes should reimplement this, but they should call this base class method at the end of the overloaded function.
int YBusyIndicator::timeout | ( | ) | const |
Return the current timeout in milliseconds.
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget.