libyui-ncurses  2.44.1
NCProgressBar Class Reference
Inheritance diagram for NCProgressBar:
Collaboration diagram for NCProgressBar:

List of all members.

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)

Detailed Description

Definition at line 36 of file NCProgressBar.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables