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

List of all members.

Public Member Functions

 NCBusyIndicator (YWidget *parent, const std::string &label, int timeout=1000)
virtual int preferredWidth ()
virtual int preferredHeight ()
virtual void setSize (int newWidth, int newHeight)
virtual void setLabel (const std::string &nlabel)
virtual void setTimeout (int newTimeout)
virtual void setAlive (bool newAlive)
virtual void setEnabled (bool do_bv)
int timeout () const
void handler (int sig_num)

Static Public Member Functions

static void staticHandler (int sig_num)

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 NCBusyIndicator &OBJ)

Detailed Description

Definition at line 41 of file NCBusyIndicator.h.


Member Function Documentation

void NCBusyIndicator::handler ( int  sig_num)

handler, called by NCBusyIndicatorHandlerWrapper

Definition at line 193 of file NCBusyIndicator.cc.

void NCBusyIndicator::setAlive ( bool  newAlive) [virtual]

std::set alive or stalled

Definition at line 252 of file NCBusyIndicator.cc.

void NCBusyIndicator::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 122 of file NCBusyIndicator.cc.

void NCBusyIndicator::wRedraw ( ) [protected, virtual]

draw busy indicator widget

Reimplemented from NCWidget.

Definition at line 275 of file NCBusyIndicator.cc.

Here is the call graph for this function:


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