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

NCPushButton Class Reference

#include <NCPushButton.h>

Inheritance diagram for NCPushButton:

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

Public Member Functions

 NCPushButton (NCWidget *parent, const YWidgetOpt &opt, YCPString label)
virtual ~NCPushButton ()
virtual long nicesize (YUIDimension dim)
virtual void setSize (long newwidth, long newheight)
virtual NCursesEvent wHandleInput (wint_t key)
virtual void setLabel (const YCPString &nlabel)
virtual void setEnabling (bool do_bv)
virtual bool setKeyboardFocus ()

Protected Member Functions

virtual const char * location () const
virtual void wRedraw ()

Private Member Functions

NCPushButton & operator= (const NCPushButton &)
 NCPushButton (const NCPushButton &)

Private Attributes

NClabel label

Friends

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

Constructor & Destructor Documentation

NCPushButton::NCPushButton (  const NCPushButton &   )  [private]
 

NCPushButton::NCPushButton (  NCWidget *  parent,
const YWidgetOpt &  opt,
YCPString  label
) 
 

NCPushButton::~NCPushButton (   )  [virtual]
 


Member Function Documentation

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

Reimplemented from NCWidget.

long NCPushButton::nicesize (  YUIDimension  dim  )  [virtual]
 

Implements YWidget.

NCPushButton& NCPushButton::operator= (  const NCPushButton &   )  [private]
 

virtual void NCPushButton::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.

virtual bool NCPushButton::setKeyboardFocus (   )  [inline, virtual]
 

Reimplemented from YWidget.

void NCPushButton::setLabel (  const YCPString &  nlabel  )  [virtual]
 

Reimplemented from YPushButton.

void NCPushButton::setSize (  long  newwidth,
long  newheight
)  [virtual]
 

Reimplemented from YWidget.

NCursesEvent NCPushButton::wHandleInput (  wint_t  key  )  [virtual]
 

Reimplemented from NCWidget.

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

Reimplemented from NCWidget.


Friends And Related Function Documentation

std::ostream& operator<< (  std::ostream &  STREAM,
const NCPushButton &  OBJ
)  [friend]
 


Member Data Documentation

NClabel NCPushButton::label [private]
 

Reimplemented from YPushButton.


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 10:52:55 2005 for yast2-ncurses by  doxygen 1.4.4