libyui-ncurses
2.44.1
|
Public Member Functions | |
NCProgressBar (YWidget *parent, const std::string &label, int maxValue=100) | |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual void | setLabel (const std::string &nlabel) |
virtual void | setValue (int newValue) |
virtual void | setEnabled (bool do_bv) |
Protected Member Functions | |
virtual const char * | location () const |
virtual void | wCreate (const wrect &newrect) |
virtual void | wDelete () |
virtual void | wRedraw () |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const NCProgressBar &OBJ) |
Definition at line 36 of file NCProgressBar.h.
void NCProgressBar::setEnabled | ( | bool | do_bv | ) | [virtual] |
Pure virtual to make sure every widget implements it. Necessary to make sure that UI requests via YWidget::setEnabled perform, and behave the same way as direct calls to NCWidget::setEnabled.
Implements NCWidget.
Definition at line 77 of file NCProgressBar.cc.