Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

NCProgressBar Class Reference

#include <NCProgressBar.h>

Inheritance diagram for NCProgressBar:

YProgressBar NCWidget YWidget tnode< NCWidget * > NCursesError List of all members.

Public Member Functions

 NCProgressBar (NCWidget *parent, const YWidgetOpt &opt, const YCPString &label, const YCPInteger &maxprogress, const YCPInteger &progress)
virtual ~NCProgressBar ()
virtual long nicesize (YUIDimension dim)
virtual void setSize (long newwidth, long newheight)
virtual void setLabel (const YCPString &nlabel)
virtual void setProgress (const YCPInteger &nval)
virtual void setEnabling (bool do_bv)

Protected Member Functions

virtual const char * location () const
virtual void wCreate (const wrect &newrect)
virtual void wDelete ()
virtual void wRedraw ()

Private Member Functions

NCProgressBaroperator= (const NCProgressBar &)
 NCProgressBar (const NCProgressBar &)
void setDefsze ()
void tUpdate ()

Private Attributes

NClabel label
int maxval
int cval
NCursesWindowlwin
NCursesWindowtwin

Friends

std::ostream & operator<< (std::ostream &STREAM, const NCProgressBar &OBJ)

Constructor & Destructor Documentation

NCProgressBar::NCProgressBar const NCProgressBar  )  [private]
 

NCProgressBar::NCProgressBar NCWidget parent,
const YWidgetOpt opt,
const YCPString label,
const YCPInteger &  maxprogress,
const YCPInteger &  progress
 

NCProgressBar::~NCProgressBar  )  [virtual]
 


Member Function Documentation

virtual const char* NCProgressBar::location  )  const [inline, protected, virtual]
 

Reimplemented from NCWidget.

long NCProgressBar::nicesize YUIDimension  dim  )  [virtual]
 

Implements YWidget.

NCProgressBar& NCProgressBar::operator= const NCProgressBar  )  [private]
 

void NCProgressBar::setDefsze  )  [private]
 

virtual void NCProgressBar::setEnabling bool  do_bv  )  [inline, virtual]
 

Pure virtual to make shure every widget implements it. Necessary to make shure that UI requests via YWidget::setEnabling perform, and behave the same way as direct calls to NCWidget::setEnabling.

Defaut implementation is provided, and for most derived widgets it's ok to simply use it.

Implements NCWidget.

void NCProgressBar::setLabel const YCPString nlabel  )  [virtual]
 

Reimplemented from YProgressBar.

void NCProgressBar::setProgress const YCPInteger &  nval  )  [virtual]
 

Reimplemented from YProgressBar.

void NCProgressBar::setSize long  newwidth,
long  newheight
[virtual]
 

Reimplemented from YWidget.

void NCProgressBar::tUpdate  )  [private]
 

void NCProgressBar::wCreate const wrect newrect  )  [protected, virtual]
 

Reimplemented from NCWidget.

void NCProgressBar::wDelete  )  [protected, virtual]
 

Reimplemented from NCWidget.

void NCProgressBar::wRedraw  )  [protected, virtual]
 

Reimplemented from NCWidget.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  STREAM,
const NCProgressBar OBJ
[friend]
 


Member Data Documentation

int NCProgressBar::cval [private]
 

NClabel NCProgressBar::label [private]
 

Reimplemented from YProgressBar.

NCursesWindow* NCProgressBar::lwin [private]
 

int NCProgressBar::maxval [private]
 

NCursesWindow* NCProgressBar::twin [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 5 17:18:57 2007 for yast2-ncurses by doxygen 1.3.6