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

NCPadWidget Class Reference

#include <NCPadWidget.h>

Inheritance diagram for NCPadWidget:

NCWidget NCSchrollCB tnode< NCWidget * > NCursesError NCLogView NCMultiLineEdit NCMultiSelectionBox NCRichText NCSelectionBox NCTable NCTree NCFileSelection NCPkgTable NCDirectoryTable NCFileTable List of all members.

Public Member Functions

 NCPadWidget (NCWidget *myparent=0)
virtual ~NCPadWidget ()
size_t Columns ()
void setLabel (const NClabel &nlabel)
virtual void setEnabling (bool do_bv)

Protected Member Functions

void startMultidraw ()
void stopMultidraw ()
bool inMultidraw () const
virtual const char * location () const
unsigned labelWidht () const
virtual void wCreate (const wrect &newrect)
virtual void wDelete ()
virtual void wRedraw ()
virtual void wRecoded ()
wsze defPadSze () const
virtual NCPadCreatePad ()
virtual void DrawPad ()
void InitPad ()
void AdjustPad (wsze nsze)
void DelPad ()
virtual void HScroll (unsigned total, unsigned visible, unsigned start)
virtual void VScroll (unsigned total, unsigned visible, unsigned start)
virtual void ScrollHead (NCursesWindow &w, unsigned ccol)
virtual void AdjustPadSize (wsze &minsze)
virtual bool handleInput (wint_t key)

Protected Attributes

NCPadpad
bool hasHeadline
bool activeLabelOnly

Private Member Functions

NCPadWidgetoperator= (const NCPadWidget &)
 NCPadWidget (const NCPadWidget &)

Private Attributes

NClabel label
NCursesWindowpadwin
NCScrollbarhsb
NCScrollbarvsb
wsze minPadSze
bool multidraw

Friends

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

Constructor & Destructor Documentation

NCPadWidget::NCPadWidget const NCPadWidget  )  [private]
 

NCPadWidget::NCPadWidget NCWidget myparent = 0  ) 
 

NCPadWidget::~NCPadWidget  )  [virtual]
 


Member Function Documentation

void NCPadWidget::AdjustPad wsze  nsze  )  [protected]
 

void NCPadWidget::AdjustPadSize wsze minsze  )  [protected, virtual]
 

Reimplemented from NCSchrollCB.

size_t NCPadWidget::Columns  )  [inline]
 

NCPad * NCPadWidget::CreatePad  )  [protected, virtual]
 

Reimplemented in NCLogView, NCMultiLineEdit, NCMultiSelectionBox, NCRichText, NCSelectionBox, NCTable, and NCTree.

wsze NCPadWidget::defPadSze  )  const [inline, protected]
 

void NCPadWidget::DelPad  )  [protected]
 

void NCPadWidget::DrawPad  )  [protected, virtual]
 

Reimplemented in NCLogView, NCMultiLineEdit, NCRichText, and NCTree.

bool NCPadWidget::handleInput wint_t  key  )  [protected, virtual]
 

Reimplemented in NCRichText.

void NCPadWidget::HScroll unsigned  total,
unsigned  visible,
unsigned  start
[protected, virtual]
 

Reimplemented from NCSchrollCB.

Reimplemented in NCRichText.

void NCPadWidget::InitPad  )  [protected]
 

bool NCPadWidget::inMultidraw  )  const [inline, protected]
 

unsigned NCPadWidget::labelWidht  )  const [inline, protected]
 

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

Reimplemented from NCWidget.

Reimplemented in NCLogView, NCMultiLineEdit, NCMultiSelectionBox, NCRichText, NCSelectionBox, NCTable, and NCTree.

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

void NCPadWidget::ScrollHead NCursesWindow w,
unsigned  ccol
[protected, virtual]
 

Reimplemented from NCSchrollCB.

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

Reimplemented in NCLogView, NCMultiLineEdit, NCMultiSelectionBox, NCRichText, NCSelectionBox, NCTable, and NCTree.

void NCPadWidget::setLabel const NClabel nlabel  ) 
 

void NCPadWidget::startMultidraw  )  [inline, protected]
 

void NCPadWidget::stopMultidraw  )  [inline, protected]
 

void NCPadWidget::VScroll unsigned  total,
unsigned  visible,
unsigned  start
[protected, virtual]
 

Reimplemented from NCSchrollCB.

Reimplemented in NCRichText.

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

Reimplemented from NCWidget.

void NCPadWidget::wDelete  )  [protected, virtual]
 

Reimplemented from NCWidget.

void NCPadWidget::wRecoded  )  [protected, virtual]
 

Reimplemented from NCWidget.

Reimplemented in NCLogView, NCMultiSelectionBox, NCRichText, and NCSelectionBox.

void NCPadWidget::wRedraw  )  [protected, virtual]
 

Reimplemented from NCWidget.

Reimplemented in NCLogView, NCMultiLineEdit, and NCRichText.


Friends And Related Function Documentation

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


Member Data Documentation

bool NCPadWidget::activeLabelOnly [protected]
 

bool NCPadWidget::hasHeadline [protected]
 

NCScrollbar* NCPadWidget::hsb [private]
 

NClabel NCPadWidget::label [private]
 

wsze NCPadWidget::minPadSze [private]
 

bool NCPadWidget::multidraw [private]
 

NCPad* NCPadWidget::pad [protected]
 

Reimplemented in NCMultiLineEdit, NCMultiSelectionBox, NCSelectionBox, NCTable, and NCTree.

NCursesWindow* NCPadWidget::padwin [private]
 

NCScrollbar* NCPadWidget::vsb [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 04:52:33 2008 for yast2-ncurses by  doxygen 1.3.9.1